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

=?us-ascii?Q?=22Kasper_Sk=E5rh=F8j=22?= kasper at typo3.com
Thu Sep 4 19:29:40 CEST 2003


If you have a reasonable suggestion I am in a good mood at the moment. Please submit a ready-to-patch-in function with a little description. Send directly to me.



God bless

- kasper

*********** REPLY SEPARATOR  ***********

On 04-09-2003 at 18:36 Ingmar Schlecht wrote:

>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
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev



God bless

- kasper


- kasper
-------------------- o ---------------------
>>>    In God I trust - others pay cash!     <<<
Check www.typo3.com







More information about the TYPO3-dev mailing list