1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00
Files
archived-php-src/ext/standard/tests/strings/str_getcsv_002.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

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
)