blob: e59044002f1b2d4ebba4e5a644e5e600292764c7 (
plain)
1
2
3
4
5
6
7
8
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)
|