Re: [PHP-DEV] Re: Regarding serialize

2009-08-18 Thread Evert | Filemobile
Protected properties are serialized as: 0x00 + * + 0x00 + property name The null characters don't show up in your console, but pipe the output through for example 'hexdump -C' and you should see them.. Evert On 19-Aug-09, at 1:37 AM, Chris Stockton wrote: Apologies for the double post, bu

[PHP-DEV] Re: Regarding serialize

2009-08-18 Thread Chris Stockton
Apologies for the double post, but the output might help... long day. Notice the strlen is different, as well as the truncation on escapeshellarg. -- string(43) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" string(45) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" bool(false) string(45) "'O:13:"te