1--TEST--
2Bug #70963 (Unserialize shows UNKNOW in result)
3--FILE--
4<?php
5var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";}i:1;R:3;}'));
6var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";}i:1;r:3;}'));
7?>
8--EXPECTF--
9array(2) {
10  [0]=>
11  object(Exception)#%d (6) {
12    ["message":protected]=>
13    string(0) ""
14    ["string":"Exception":private]=>
15    string(0) ""
16    ["code":protected]=>
17    int(0)
18    ["file":protected]=>
19    string(%d) "%s"
20    ["line":protected]=>
21    int(2)
22    ["previous":"Exception":private]=>
23    NULL
24  }
25  [1]=>
26  string(4) "test"
27}
28array(2) {
29  [0]=>
30  object(Exception)#%d (6) {
31    ["message":protected]=>
32    string(0) ""
33    ["string":"Exception":private]=>
34    string(0) ""
35    ["code":protected]=>
36    int(0)
37    ["file":protected]=>
38    string(%d) "%s"
39    ["line":protected]=>
40    int(3)
41    ["previous":"Exception":private]=>
42    NULL
43  }
44  [1]=>
45  string(4) "test"
46}
47