mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -69,7 +69,7 @@ class eCLI
|
||||
if(preg_match("/^-([a-zA-Z0-9]+)/", $matches[0], $match))
|
||||
{
|
||||
$string = $match[1];
|
||||
for($i=0; strlen($string) > $i; $i++)
|
||||
for($i=0, $iMax = strlen($string); $iMax > $i; $i++)
|
||||
{
|
||||
$_ARG[$string[$i]] = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user