Hi, If var_dump would dump the type info into PHP comments then var_dump would be also valid PHP code. That'd be very cool. I guess this would be rather easy to code as we already have var_export.
Also, about circular references. Isn't it possible to reuse the circular recognition from print_r and actually write out a reference to the offending piece? Regards, Karoly Negyesi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php