Re: Simplexml and xml namespaces

From: Date: Sat, 20 Aug 2005 03:21:18 +0000
Subject: Re: Simplexml and xml namespaces
Groups: php.internals 
Request: Send a blank email to internals+get-18232@lists.php.net to get a copy of this message
This is my first post here, so forgive me if I'm not doing this right. It seems like php objects need a magic function __dump or __debug or something similiar to handle these kinds of situations. I can see why this might be construed as hackish / lame, but by that token, var_dump itself is. It seems like the only alternative solution is to write special debugging functions for each class, which makes var_dump less useful than it could be. Maybe I'm crazy, but I always thought that var_dump should be used to really tell me as much as possible about any variable I passed in. If all I wanted was the array output, I could just as easily use print_r instead. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

« previous php.internals (#18232) next »