RE: [PHP] Freelance code optimizations
| From: | Robert Cummings | Date: | Mon, 11 Aug 2003 18:13:27 +0000 |
| Subject: | RE: [PHP] Freelance code optimizations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159164@lists.php.net to get a copy of this message | ||
In that case it makes perfect sense since a concatenation is not
actually performed. The loops stuff though might be more tricky to
determine reasoning. I imagine it has to do with the execution tree and
references being created at various stages. Probably the for loop has an
extra step or two which over a large loop can produce noticeable
results.
Cheers,
Rob.
On Mon, 2003-08-11 at 14:06, Chris W. Parker wrote:
> Robert Cummings <mailto:robert@wocmud.org>
> on Monday, August 11, 2003 10:55 AM said:
>
> > Or are you mistaken in assuming the
> > following works when perhaps you use this style as part of an echo
> > statement normally.
>
> I apologize. I did not copy and paste my the code I used in my test file
> into my email.
>
> So you are right, I was using it in an echo statement and not during
> assignment. That's why you got the parse error.
>
>
> Chris.
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'