@@ -56,7 +56,7 @@ |
||
56 | 56 | function nonalpha($str) |
57 | 57 | { |
58 | 58 | $strLength = mb_strlen($str); |
59 | - for ($i = 0; $i < $strLength; $i ++) { |
|
59 | + for ($i = 0; $i < $strLength; $i++) { |
|
60 | 60 | if (!((ord(mb_substr($str, $i, 1)) >= ord('a')) && (ord(mb_substr($str, $i, 1)) <= ord('z')))) { |
61 | 61 | return true; |
62 | 62 | } |
@@ -241,7 +241,7 @@ |
||
241 | 241 | while ($nCurPos < mb_strlen($str)) { |
242 | 242 | $nNextSep = mb_strlen($str); |
243 | 243 | $sepLength = mb_strlen($sep); |
244 | - for ($nSepPos = 0; $nSepPos < $sepLength; $nSepPos ++) { |
|
244 | + for ($nSepPos = 0; $nSepPos < $sepLength; $nSepPos++) { |
|
245 | 245 | $nThisPos = mb_strpos($str, mb_substr($sep, $nSepPos, 1), $nCurPos); |
246 | 246 | if ($nThisPos !== false && $nNextSep > $nThisPos) { |
247 | 247 | $nNextSep = $nThisPos; |