mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -1541,7 +1541,7 @@ function csv_split(&$data,$delim=',',$enveloper='')
|
||||
$enclosed = false;
|
||||
// $fldcount=0;
|
||||
// $linecount=0;
|
||||
for($i=0;$i<strlen($data);$i++)
|
||||
for($i=0, $iMax = strlen($data); $i< $iMax; $i++)
|
||||
{
|
||||
$c=$data[$i];
|
||||
switch($c)
|
||||
|
Reference in New Issue
Block a user