Annotation of embedaddon/php/ext/spl/tests/SplTempFileObject_constructor_memory_lt1_variation.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SPL SplTempFileObject constructor sets correct defaults when passed a negative value
! 3: --FILE--
! 4: <?php
! 5: var_dump(new SplTempFileObject(-1));
! 6: ?>
! 7: --EXPECTF--
! 8: object(SplTempFileObject)#1 (5) {
! 9: ["pathName":"SplFileInfo":private]=>
! 10: string(12) "php://memory"
! 11: ["fileName":"SplFileInfo":private]=>
! 12: string(12) "php://memory"
! 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>