public function peekAlphaIdentifier(array $allowedChars = null)
    {
        $allowedChars = $allowedChars ?: ['_'];

        return $this->peekAlpha() || $this->peekChars($allowedChars);
    }
public function peekAlphaIdentifier(array $allowedChars = null)
    {
        $allowedChars = $allowedChars ?: ['_'];

        return $this->peekAlpha() || $this->peekChars($allowedChars);
    }
public function peekAlphaIdentifier ( array $ allowedChars = null ) { $ allowedChars = $ allowedChars ? : [ '_' ] ; return $ this -> peekAlpha ( ) || $ this -> peekChars ( $ allowedChars ) ; }
Peeks one byte and checks if it could be a valid alphabetical identifier.

@param array $allowedChars additional chars to allow in the identifier (default: ['_'])

@return bool whether it could be or not.
Peeks one byte and checks if it could be a valid alphabetical identifier .