API17

API17:JUtility::dump

From Joomla! Documentation

Joomla 11.1 JUtility::dump

Description

Method to dump the structure of a variable for debugging purposes.


public static function dump (
        &$var
        $htmlSafe=true
)
Parameter Type Default Description
&$var mixed $var A variable
$htmlSafe boolean true True to ensure all characters are htmlsafe
  • Returns string
  • Defined on line 168 of libraries/joomla/utilities/utility.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples