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:"testSerialize":1:{s:7:"*_foo";a:0:{}}'" string(31) "'O:13:"testSerialize":1:{s:7:"'" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php