Zephir\Passes\LocalContextPass::getLastVariableUseLine PHP Method

getLastVariableUseLine() public method

Returns the latest line where a variable was read
public getLastVariableUseLine ( string $variable ) : integer
$variable string
return integer
    public function getLastVariableUseLine($variable)
    {
        if (isset($this->uses[$variable])) {
            return $this->uses[$variable];
        }
        return 0;
    }