/
proc
/
3430793
/
cwd
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
file
/
File Upload :
llllll
Current File: //proc/3430793/cwd/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/file/bug22382.phpt
--TEST-- Bug #22382 (fgetcsv() does not handle escaped quotes correctly) --FILE-- <?php $fp = fopen(__DIR__."/test2.csv", "r"); while(($line = fgetcsv($fp, 1024))) { var_dump($line); } fclose($fp); ?> --EXPECT-- array(6) { [0]=> string(3) "One" [1]=> string(7) "\"Two\"" [2]=> string(7) "Three\"" [3]=> string(4) "Four" [4]=> string(2) "\\" [5]=> string(28) "\\\\\\\\\\\\\\\\\\\\\\\"\\\\" }
Copyright ©2k19 -
Hexid
|
Tex7ure