Implement str_getcsv, and fix some fgetcsv related issues
commit0bd3a87e85b4716c386563ecc6811f4b45b54f8b
authorAlex Malyshev <alexanderm@fb.com>
Fri, 6 Sep 2013 20:31:30 +0000 (6 13:31 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 6 Sep 2013 23:18:38 +0000 (6 16:18 -0700)
treeada19745eb559e1d76c7202bdc4f042f51bc36b7
parent277ff223ed9c7066e2346deeadcf16cf8a3889c5
Implement str_getcsv, and fix some fgetcsv related issues

str_getcsv is now just a wrapper around fgetcsv

Differential Revision: D958124
12 files changed:
hphp/runtime/base/file.cpp
hphp/runtime/ext/ext_file.cpp
hphp/system/php.txt
hphp/system/php/misc/str_getcsv.php [new file with mode: 0644]
hphp/test/zend/good/ext-standard-file/bug53848.php [moved from hphp/test/zend/bad/ext-standard-file/bug53848.php with 98% similarity]
hphp/test/zend/good/ext-standard-file/bug53848.php.expectf [moved from hphp/test/zend/bad/ext-standard-file/bug53848.php.expectf with 100% similarity]
hphp/test/zend/good/ext-standard-file/fgetcsv_error.php [moved from hphp/test/zend/bad/ext-standard-file/fgetcsv_error.php with 98% similarity]
hphp/test/zend/good/ext-standard-file/fgetcsv_error.php.expectf [moved from hphp/test/zend/bad/ext-standard-file/fgetcsv_error.php.expectf with 100% similarity]
hphp/test/zend/good/ext-standard-streams/stream_get_contents_001.php
hphp/test/zend/good/ext-standard-streams/stream_get_contents_001.php.expectf
hphp/test/zend/good/ext-standard-strings/str_getcsv_001.php [moved from hphp/test/zend/bad/ext-standard-strings/str_getcsv_001.php with 99% similarity]
hphp/test/zend/good/ext-standard-strings/str_getcsv_001.php.expectf [moved from hphp/test/zend/bad/ext-standard-strings/str_getcsv_001.php.expectf with 100% similarity]