php-8.0.30-src/ext/spl/tests/SplFileObject_setCsvControl...

18 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) ""
}