src/POData/HttpProcessUtility.php
/**
     * Reads a token on the specified text by advancing an index on it.
     * 
     * @param string $text       Text to read token from.
     * @param int    &$textIndex Index for the position being scanned on text.
     * 
     * @return boolean true if the end of the text was reached; false otherwise.
     */
Reads a token on the specified text by advancing an index on it.

@param string $text       Text to read token from.
@param int    &$textIndex Index for the position being scanned on text.

@return boolean true if the end of the text was reached; false otherwise.
Reads a token on the specified text by advancing an index on it . @param string $text Text to read token from . @param int &$textIndex Index for the position being scanned on text . @return boolean true if the end of the text was reached ; false otherwise .
public static function readToken($text, &$textIndex)
    {
        $textLen = strlen($text);
        while (($textIndex < $textLen) && self::isHttpTokenChar($text[$textIndex])) {
            $textIndex++;
        }
        return $textLen == $textIndex;
    }
public static function readToken ( $ text , & $ textIndex ) { $ textLen = strlen ( $ text ) ; while ( ( $ textIndex < $ textLen ) && self :: isHttpTokenChar ( $ text [ $ textIndex ] ) ) { $ textIndex ++ ; } return $ textLen == $ textIndex ; }
Reads a token on the specified text by advancing an index on it.
Reads a token on the specified text by advancing an index on it .