AW: [PEAR-DEV] [Announce] varDump class

From: Date: Tue, 22 Jan 2002 14:52:38 +0000
Subject: AW: [PEAR-DEV] [Announce] varDump class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4060@lists.php.net to get a copy of this message
> Hi, > > I've written a class to parse the structure of variables > (like var_dump() does) and display it on a graphical way. > Arrays are explored recursively and the informations > collected on the variable (structure,keys,values...) is > then displayed. > > I think this class is useful for a debug purpose, I use it > to show/dump the state of the memory during the execution > of a script. Really cool tool, I have to say. But there is one (minor) thing that i'm missing: As the class does only search in the GLOBALS array, local vars (e. g. inside a function) and class-vars ($this->myVar) won't be found and thus can't be displayed. So I have to "global-ize" the variable to debug it's value, which is not really a prob in most cases, but... ;-)) Great work, though!! Thanks Karsten

« previous php.pear.dev (#4060) next »