mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
20 lines
491 B
Plaintext
20 lines
491 B
Plaintext
|
--TEST--
|
||
|
SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(new SplTempFileObject());
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
object(SplTempFileObject)#1 (5) {
|
||
|
["pathName":"SplFileInfo":private]=>
|
||
|
string(10) "php://temp"
|
||
|
["fileName":"SplFileInfo":private]=>
|
||
|
string(10) "php://temp"
|
||
|
["openMode":"SplFileObject":private]=>
|
||
|
string(1) "w"
|
||
|
["delimiter":"SplFileObject":private]=>
|
||
|
string(1) ","
|
||
|
["enclosure":"SplFileObject":private]=>
|
||
|
string(1) """
|
||
|
}
|