I have a template system that loops through an array struct. For each new row of the primary array I do the following:
$sRecord = $aTemplates['record'];
...where $aTemplates['record'] is the template (typically html code).
What I am finding is that when I run this line in a loop with about 250 rows it takes about 18 seconds to process. If I rem this one line out, my script completes in like .25 seconds!
I've even tried to put the array data in a variable and make the following call
$sRecord = $sNewRecord;
...it takes just as long.
Is there a fast way to do this or is this a bug or (I fear) is this normal?
TIA