/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
serialize
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/serialize/bug70963.phpt
--TEST-- Bug #70963 (Unserialize shows UNKNOW in result) --FILE-- <?php var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";}i:1;R:3;}')); var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";}i:1;r:3;}')); ?> --EXPECTF-- Fatal error: Uncaught TypeError: Cannot assign string to property Exception::$trace of type array in %s:%d Stack trace: #0 %s(%d): unserialize('a:2:{i:0;O:9:"e...') #1 {main} thrown in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure