Serialized Strings

Serialized Strings are very hard to read. This tries to make it a little bit easier by highlighting certain parts of the string while making others unobtrusive.

visit HLI#X
1. pre(serialize($Test)) type: string
in builder\plugins\serializedDump.php on line 18
O:4:"Test":4:{s:10:" Test null";N;s:8:" * array";a:6:{s:5:"hello";s:5:"world";i:0;i:1;i:1;i:2;i:2;d:.35;i:3;b:0;i:4;s:0:"";}s:8:" * test2";O:5:"Test2":1:{s:9:" * array2";a:1:{s:3:"HLI";s:5:"Haily";}}s:9:" * array2";a:1:{s:3:"HLI";s:5:"Haily";}}
*** global scope ***

You can compare this string with the following object. They are identical.

visit HLI#X
2. pre($Test) type: Test (object)
in builder\plugins\serializedDump.php on line 24
− Test { static public $spub = 'static public' static protected $sprot = 'static protected' static private $spriv = *** unreadable *** static protected $staticTest2 = Test2 protected $array = − Array ( 'hello' => 'world', 0       => 1, 1       => 2, 2       => 3.5, 3       => false, 4       => '' ) protected $test2 = − Test2 { protected $array2 = − Array ( 'HLI' => 'Haily' ) } protected $array2 = − Array ( 'HLI' => 'Haily' ) private $null = NULL }
*** global scope ***
HLI