i am somewhat new to php, and was wondering how abstract data types know how to display themselves?
for example, in java there a method called totext (i think that was it's name) that is the default method called when an object was output to a text stream.
i notice that things like arrays in php just "know" how to display themselves, which occurs to me to not be intrinsic to abstract data types. is there such a setup in php as there is in java, or does php just do it's best to come up with a suitable way to display abstract objects?