making var_dump and var_export even better

From: Date: Thu, 27 Mar 2008 07:14:31 +0000
Subject: making var_dump and var_export even better
Groups: php.internals 
Request: Send a blank email to internals+get-36603@lists.php.net to get a copy of this message
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

« previous php.internals (#36603) next »