php-src/ext/spl/tests/SplFileObject/SplFileObject_setCsvControl_variation002.phpt
2022-05-27 18:33:48 +01:00

17 lines
295 B
PHP

--TEST--
SplFileObject::setCsvControl() and ::getCsvControl() with empty $escape
--FILE--
<?php
$file = new SplTempFileObject;
$file->setCsvControl(',', '"', '');
var_dump($file->getCsvControl());
?>
--EXPECT--
array(3) {
[0]=>
string(1) ","
[1]=>
string(1) """
[2]=>
string(0) ""
}