On Jan 30, 2008 2:38 PM, Greg Donald <[EMAIL PROTECTED]> wrote:
> If you like Java then stick with PHP as that's where the syntax is
> clearly headed:
>
> http://www.php.net/~helly/php/ext/spl/

ive been studying spl a lot recently.  actually, last night
i was benching it against foreach over standard arrays.
the results were staggering, spl is roughly twice as fast.
and if you iterate over the same structure more than once,
say ArrayIterator, vs. multiple times iterating over a regular
array w/ the foreach or while construct, the savings only
compound!
when you said earlier that people arent interested in learning
php, this is something i immediately thought of.  primarily
because spl debuted in php 5.0 and practically nobody is
using it (which could just be my skewed perception) when it
is extremely powerful.

-nathan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to