blob: 6d3a76ce945d93317e208107c8bd86f8a5357c3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
SplFileObject::setCsvControl() and ::getCsvControl() with empty $escape
--FILE--
<?php
$file = new SplTempFileObject;
$file->setCsvControl(',', '"', '');
var_dump($file->getCsvControl());
?>
===DONE===
--EXPECT--
array(3) {
[0]=>
string(1) ","
[1]=>
string(1) """
[2]=>
string(0) ""
}
===DONE===
|