Var_Dump class modified
| From: | Frédéric Poeydomenge | Date: | Wed, 26 Jun 2002 13:36:28 +0000 |
| Subject: | Var_Dump class modified | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-7373@lists.php.net to get a copy of this message | ||
Hi,
I've made a lot of modifications in the Var_Dump class very recently,
(especialy in the interface and in the code)
- The API has been modified, and simplified.
- I've added the support for text output
- Configuration of the visual parameters improved
- I've also added the option of returning data instead of printing it
- The code has been cleant
So, if you are interested to have it in PEAR, it's ready for its inclusion (code
compliance...), so I would like to have your opinions.
Synopsis :
Var_Dump::display($vars);
or $text = Var_Dump::r_display($vars);
echo $text;
or $foo = new Var_Dump($confVD);
$foo->setDisplayMode($confDM);
$foo->display($vars1);
$foo->display($vars2);
...
A demo of the Var_Dump class can be found at :
http://frederic.poeydomenge.free.fr/vardump/
Best regards
--
Frederic Poeydomenge