📄 bug37947.phpt
字号:
--TEST--
Bug #37947 (zend_ptr_stack reallocation problem)
--INI--
error_reporting=0
--FILE--
<?
class test {
function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) {
if ($count>0) $this->extend_zend_ptr_stack($count -
1,$a,$b,$c,$d,$e);
}
function __wakeup() {
$this->extend_zend_ptr_stack(10,'a','b','c','d','e');
}
}
$str='a:2:{i:0;O:4:"test":0:{}junk';
var_dump(unserialize($str));
--EXPECT--
bool(false)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -