Bug #70963 [Opn->Csd]: Unserialize shows UNKNOW in result
| From: | laruence@php.net | Date: | Tue, 24 Nov 2015 03:05:24 +0000 |
| Subject: | Bug #70963 [Opn->Csd]: Unserialize shows UNKNOW in result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197387@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70963&edit=1
ID: 70963
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: Unserialize shows UNKNOW in result
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: 7.0.0RC7
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=91fb1edbbffe106d02929fe554ecbd1e5e33f5d1
Log: Fixed bug #70963 (Unserialize shows UNKNOW in result)
Previous Comments:
------------------------------------------------------------------------
[2015-11-24 02:53:12] laruence@php.net
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
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70963&edit=1