Core Function VarDump
From Sputnik Wiki
(Difference between revisions)
(→) |
m (1 revision) |
(One intermediate revision by one user not shown) |
Latest revision as of 12:37, 14 June 2015
Printr( $variable, <newline> , <flag> )
Contents |
Description
This function displays structured information about one or more expressions that includes its type and value. Arrays and objects are explored recursively with values indented to show structure.
Parameters
$variable
A variable to to dump information about.
<newline>
Optional; Allows you to set your own NewLine splitter such as "< BR >"
Return Value
None
Remarks
None
Example
$arr = array( 0, 1, 2, 3, "moo" => array("cat", "dog", "moo", "toy" => array("fox", "lol")) ); my $details = VarDump($arr); println($details);