Habari\HiEngineParser::string_stack PHP Method

string_stack() public method

Creates a table of static strings in hiengine expressions to be replaced in later
public string_stack ( array $matches )
$matches array The match found in hi_if ()
    function string_stack($matches)
    {
        $key = chr(0) . count($this->strings) . chr(1);
        $this->strings[$key] = $matches[0];
        return $key;
    }