@@ -144,22 +144,22 @@ public function parseIdentifier($bIgnoreCase = true)
144144 if ($ this ->isEnd ()) {
145145 throw new UnexpectedEOFException ('' , '' , 'identifier ' , $ this ->lineNumber );
146146 }
147- $ sResult = $ this ->parseCharacter (true );
148- if ($ sResult === null ) {
147+ $ result = $ this ->parseCharacter (true );
148+ if ($ result === null ) {
149149 throw new UnexpectedTokenException ('' , $ this ->peek (5 ), 'identifier ' , $ this ->lineNumber );
150150 }
151151 $ sCharacter = null ;
152152 while (!$ this ->isEnd () && ($ sCharacter = $ this ->parseCharacter (true )) !== null ) {
153153 if (\preg_match ('/[a-zA-Z0-9 \\x{00A0}- \\x{FFFF}_-]/Sux ' , $ sCharacter )) {
154- $ sResult .= $ sCharacter ;
154+ $ result .= $ sCharacter ;
155155 } else {
156- $ sResult .= '\\' . $ sCharacter ;
156+ $ result .= '\\' . $ sCharacter ;
157157 }
158158 }
159159 if ($ bIgnoreCase ) {
160- $ sResult = $ this ->strtolower ($ sResult );
160+ $ result = $ this ->strtolower ($ result );
161161 }
162- return $ sResult ;
162+ return $ result ;
163163 }
164164
165165 /**
@@ -308,11 +308,11 @@ public function consume($mValue = 1): string
308308 if ($ this ->iCurrentPosition + $ mValue > $ this ->iLength ) {
309309 throw new UnexpectedEOFException ((string ) $ mValue , $ this ->peek (5 ), 'count ' , $ this ->lineNumber );
310310 }
311- $ sResult = $ this ->substr ($ this ->iCurrentPosition , $ mValue );
312- $ iLineCount = \substr_count ($ sResult , "\n" );
311+ $ result = $ this ->substr ($ this ->iCurrentPosition , $ mValue );
312+ $ iLineCount = \substr_count ($ result , "\n" );
313313 $ this ->lineNumber += $ iLineCount ;
314314 $ this ->iCurrentPosition += $ mValue ;
315- return $ sResult ;
315+ return $ result ;
316316 }
317317 }
318318
@@ -460,13 +460,13 @@ private function substr($iStart, $iLength): string
460460 if ($ iStart + $ iLength > $ this ->iLength ) {
461461 $ iLength = $ this ->iLength - $ iStart ;
462462 }
463- $ sResult = '' ;
463+ $ result = '' ;
464464 while ($ iLength > 0 ) {
465- $ sResult .= $ this ->aText [$ iStart ];
465+ $ result .= $ this ->aText [$ iStart ];
466466 $ iStart ++;
467467 $ iLength --;
468468 }
469- return $ sResult ;
469+ return $ result ;
470470 }
471471
472472 /**
@@ -493,11 +493,11 @@ private function strsplit($sString)
493493 return \preg_split ('//u ' , $ sString , -1 , PREG_SPLIT_NO_EMPTY );
494494 } else {
495495 $ iLength = \mb_strlen ($ sString , $ this ->sCharset );
496- $ aResult = [];
496+ $ result = [];
497497 for ($ i = 0 ; $ i < $ iLength ; ++$ i ) {
498- $ aResult [] = \mb_substr ($ sString , $ i , 1 , $ this ->sCharset );
498+ $ result [] = \mb_substr ($ sString , $ i , 1 , $ this ->sCharset );
499499 }
500- return $ aResult ;
500+ return $ result ;
501501 }
502502 } else {
503503 if ($ sString === '' ) {
0 commit comments