Re: first php 5 class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/30/08, Nathan Nobbe <quickshiftin@xxxxxxxxx> wrote:
> On Jan 30, 2008 2:38 PM, Greg Donald <gdonald@xxxxxxxxx> 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.

I think your perception is correct.  But Perl is very powerful too,
and not so many people use it for new web development either.. with
list serve traffic being my reference.

SPL's main drawback for me personally is carpal tunnel syndrome, I
don't have it and I don't care to acquire it.


-- 
Greg Donald
http://destiney.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux