mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
18 lines
253 B
PHP
18 lines
253 B
PHP
--TEST--
|
|
str_getcsv() with empty $escape
|
|
--FILE--
|
|
<?php
|
|
$contents = <<<EOS
|
|
"cell1","cell2\\","cell3","cell4"
|
|
EOS;
|
|
print_r(str_getcsv($contents, ',', '"', ''));
|
|
?>
|
|
--EXPECT--
|
|
Array
|
|
(
|
|
[0] => cell1
|
|
[1] => cell2\
|
|
[2] => cell3
|
|
[3] => cell4
|
|
)
|