string(3) "bar" NULL object(Test)#1 (1) { ["property":protected]=> array(1) { ["foo"]=> string(3) "bar" } } object(Test)#1 (1) { ["property":protected]=> array(1) { ["foo"]=> string(3) "bar" } }