public hasVariableWithName ( string $name ) : boolean | ||
$name | string | |
return | boolean | True if a variable with the given name is defined within this scope |
public function hasVariableWithName(string $name) : bool
{
return !empty(self::$global_variable_map[$name]);
}