Open
Description
Python example:
a = dict()
a['a'] = 3
a['b'] = 2
a['c'] = 1
print a
{'a': 3, 'c': 1, 'b': 2}
I had this implemented very very early when php-ds was still private, where the structures would echo something similar to JSON. Values that could not be converted to strings had default fallbacks like object(stdClass)#1
and resource(type)#1
.
I imagine the above equivalent would echo something like:
{'a': 3, 'b': 2, 'c': 1}