src/text/tokenizer/TextTokenizer.php
public function str($flags = 0)
    {
        $ret = false;

        if ($this->match(TextTokenizer::STRING, $matches, $flags)) {
            $delimiter = $matches[2];
            $str = $matches[3];
            $str = str_replace("\\$delimiter", "$delimiter", $str);
            $ret = array($str);
        }

        return $ret;
    }
public function str($flags = 0)
    {
        $ret = false;

        if ($this->match(TextTokenizer::STRING, $matches, $flags)) {
            $delimiter = $matches[2];
            $str = $matches[3];
            $str = str_replace("\\$delimiter", "$delimiter", $str);
            $ret = array($str);
        }

        return $ret;
    }
public function str ( $ flags = 0 ) { $ ret = false ; if ( $ this -> match ( TextTokenizer :: STRING , $ matches , $ flags ) ) { $ delimiter = $ matches [ 2 ] ; $ str = $ matches [ 3 ] ; $ str = str_replace ( "\\$delimiter" , "$delimiter" , $ str ) ; $ ret = array ( $ str ) ; } return $ ret ; }
Is the next token a string?

This function returns false if the next token is not a string or an array
with a single string.

@param integer $flags Flags (default is 0)

@return false|array of a single string
Is the next token a string?