Annotation of embedaddon/php/ext/standard/tests/serialize/bug67072.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #67072 Echoing unserialized "SplFileObject" crash
! 3: --FILE--
! 4: <?php
! 5: echo unserialize('O:13:"SplFileObject":1:{s:9:"*filename";s:15:"/home/flag/flag";}');
! 6: ?>
! 7: ===DONE==
! 8: --EXPECTF--
! 9: Warning: Erroneous data format for unserializing 'SplFileObject' in %sbug67072.php on line %d
! 10:
! 11: Notice: unserialize(): Error at offset 24 of 64 bytes in %sbug67072.php on line %d
! 12: ===DONE==
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>