Core Function VarDump

From Sputnik Wiki
Jump to: navigation, search
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);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox