printvar_ext [function]
printvar_ext( var, int maxdepth = 5 )
passes a dump of the variable (informative string version) to the output callback, allowing to optionally specify the maximum depth of the dump (how deep it is allowed to look for sub-variables)
printvar_ext( 5 ); // prints "real (5)" printvar_ext( "wat" ); // prints "string [3] "wat"" printvar_ext( [{a=[{}]}], 2 ); /* prints: object (003C5F90) [0] array (1) [ object (003C60A8) [1] dict (1) { ... } ] */