Core Function VarDump

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> Printr( $variable, <newline> , <flag> ) </pre> === Description === This function displays structured information about one or more expressions that includes its type and ...")
Newer edit →

Revision as of 08:51, 23 January 2013

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 "
"

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);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox