mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
* Unserialize: Migrate "Unexpected end of serialized data" to E_WARNING * Unserialize: Migrate "Error at offset %d of %d bytes" to E_WARNING * Unserialize: Migrate "%s is returned from __sleep() multiple times" to E_WARNING * Add NEWS for “Promote unserialize() notices to warning”
9 lines
217 B
PHP
9 lines
217 B
PHP
--TEST--
|
|
Bug #70253 (segfault at _efree () in zend_alloc.c:1389)
|
|
--FILE--
|
|
<?php
|
|
unserialize('a:2:{i:0;O:9:"000000000":10000000');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: unserialize(): Error at offset 33 of 33 bytes in %s on line %d
|