> Ah right. So they know it's crap. That's OK. I was worried was I the only
> one that noticed...
>I wouldn't say it's crap, it's just not really the way PHP was designed. It
was designed as a procedural language, and OO functionality was added on
request, just like pretty much everything else. But it's a hack, and it
probably shouldn't be used on high-traffic or large sites, because you'll
see a fairly significant drop in processing speed, 5-20% according to Zeev.
And he's right, I went down the OO route with my site manager yokey-bob this
year and this weekend I'm going putting it back the way it was, because
it'll drive the arse out of my rig if I make it available to my clients on
any large scale. That said, they are discussing ways to make it better. It's
been discussed quite heavily on the mailing lists, and the threads are worth
a read. Try a few combination of the search terms: oop object oriented
rasmus zeev.
adam
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!