Function xc_dump
Produces a Core extended variable dump similar to var_dump(). Unlike native dumps, the extended Core dump supports the output of HTML-formatted code including support for user-defined stylesheets and detection of recursion with compact output of already processed references.
This variant extends the basic xc_dump_var()
function by allowing
multiple variable parameters and CLI detection; in CLI mode, output is
written to the standard error with HTML formatting disabled; otherwise
output is sent back to the HTTP client with HTML output enabled.
Parameters summary
mixed |
$var |
Variable to output. Supports multiple parameters. |