[Typo3-dev] new debug prettyprinter available ...

Ingmar Schlecht ingmars at REMOVETHISweb.de
Thu Sep 4 18:36:21 CEST 2003


Patrick Gaumond wrote:
> Can you provide a few examples on how to use it ?
> 
> I've put the whole script in my main T3 index.php then...how to prettyprint the entire $GLOBALS array ?
> 

I've created another little function:

function dbg($var, $name = '', $level = 3, $recursive = false) {
	echo debugvar($var, $name, $level, $recursive);
}

now I use it like that:

dbg($somevar);

- Ingmar





More information about the TYPO3-dev mailing list