1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00

test for bug #25378

This commit is contained in:
foobar
2003-09-03 16:40:52 +00:00
parent 1d21d48e8a
commit af06d049cf
@@ -0,0 +1,9 @@
--TEST--
Bug #25378 (unserialize() crashes with invalid data)
--FILE--
<?php
var_dump(unserialize("s:-1:\"\";"));
?>
--EXPECTF--
Notice: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
bool(false)