[Phpwm] Pear::Var_Dump equivalent

Ian Munday ian.munday at illumen.co.uk
Tue Jan 26 21:43:09 UTC 2010


On 26 Jan 2010, at 21:27, Alastair Battrick wrote:

> Jujhar Singh wrote:
>> What do you guys use for variable dumping?
> 
> Hello Jujhar
> 
> echo "<pre>";
> print_r($var);
> echo "</pre>";

Following on from that:

	Zend_Debug::dump($var, $label=null, $echo=true);

http://framework.zend.com/manual/en/zend.debug.dumping.html

Regards,

Ian



More information about the Phpwm mailing list