summaryrefslogtreecommitdiff
path: root/ext/standard/tests/serialize/bug67072.phpt
blob: 951db75a071f415e0bf76918b26ac8b2d640f431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #67072 Echoing unserialized "SplFileObject" crash
--FILE--
<?php
	echo unserialize('O:13:"SplFileObject":1:{s:9:"*filename";s:15:"/home/flag/flag";}');
?>
===DONE==
--EXPECTF--
Warning: Erroneous data format for unserializing 'SplFileObject' in %sbug67072.php on line %d

Notice: unserialize(): Error at offset 24 of 64 bytes in %sbug67072.php on line %d
===DONE==