--TEST-- yaml_parse - serializable --SKIPIF-- --INI-- yaml.decode_php=1 --FILE-- one; } } var_dump(yaml_parse(' --- a: !php/object "O:1:\"A\":1:{s:3:\"one\";i:1;}" ... ')); ?> --EXPECTF-- array(1) { ["a"]=> object(A)#%d (1) { ["one"]=> int(1) } }