Core Function isVarRef

From Sputnik Wiki
Jump to: navigation, search
isVarRef( $variable )

Contents

Description

Check if a variable is an reference to another variable.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

$var1 = "check me";
println( "Is it?: " . isVarRef($var1) );
 
$var2 = &$var1;
println( "Is it?: " . isVarRef($var2) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox