Annotation of embedaddon/php/ext/spl/tests/SplTempFileObject_constructor_maxmemory_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL SplTempFileObject constructor sets correct values when passed fixed memory size
3: --FILE--
4: <?php
5: var_dump(new SplTempFileObject(1024));
6: ?>
7: --EXPECTF--
8: object(SplTempFileObject)#1 (5) {
9: ["pathName":"SplFileInfo":private]=>
10: string(25) "php://temp/maxmemory:1024"
11: ["fileName":"SplFileInfo":private]=>
12: string(25) "php://temp/maxmemory:1024"
13: ["openMode":"SplFileObject":private]=>
14: string(1) "w"
15: ["delimiter":"SplFileObject":private]=>
16: string(1) ","
17: ["enclosure":"SplFileObject":private]=>
18: string(1) """
19: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>