mirror of
https://github.com/php/php-src.git
synced 2026-04-16 20:41:18 +02:00
10 lines
226 B
PHP
10 lines
226 B
PHP
--TEST--
|
|
Bug #71840 (Unserialize accepts wrongly data)
|
|
--FILE--
|
|
<?php
|
|
var_dump(unserialize('a:1:{s:0:""0a:0:{}}'));
|
|
?>
|
|
--EXPECTF--
|
|
Notice: unserialize(): Error at offset 11 of 19 bytes in %sbug71840.php on line %d
|
|
bool(false)
|