|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-11-24 03:05 UTC] laruence@php.net
[2015-11-24 03:05 UTC] laruence@php.net
-Status: Open
+Status: Closed
[2015-11-24 03:06 UTC] laruence@php.net
[2015-11-25 02:21 UTC] ab@php.net
[2016-07-20 11:35 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Unserialize shows UNKNOW in result Test script: --------------- var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";}i:1;R:3;}')); Expected result: ---------------- no UNKNOW Actual result: -------------- array(2) { [0]=> object(Exception)#1 (6) { ["message":protected]=> string(0) "" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(10) "/tmp/1.php" ["line":protected]=> int(2) ["trace":"Exception":private]=> &UNKNOWN:0 } [1]=> &UNKNOWN:0 }