mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
17 lines
295 B
PHP
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) ""
|
|
}
|