?? 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 + -