Debugger/src/VariableTable.php
public function register($name, $value, $hash = null)
    {
        return $this->doRegister($name, $value, 0, $hash);
    }
public function register($name, $value, $hash = null)
    {
        return $this->doRegister($name, $value, 0, $hash);
    }
public function register ( $ name , $ value , $ hash = null ) { return $ this -> doRegister ( $ name , $ value , 0 , $ hash ) ; }
Register a variable in the VariableTable and return a Variable reference.
The reference should be stored in the correct Breakpoint location.

Example:
```
$variableReference = $variableTable->register('varName', 'some value');
```

@param string $name The name of the variable
@param mixed $value The value of the variable
@param string|null $hash [optional] The object hash to use for deduping
@return Variable
Register a variable in the VariableTable and return a Variable reference . The reference should be stored in the correct Breakpoint location .