Re: PHP4 vs PHP5 Performance?
| From: | Richard Lynch | Date: | Sun, 26 Aug 2007 22:57:43 +0000 |
| Subject: | Re: PHP4 vs PHP5 Performance? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261311@lists.php.net to get a copy of this message | ||
On Sat, August 25, 2007 9:45 am, Robert Cummings wrote:
> PHP4 AND PHP5 developers don't even use OOP. Tell me what is
> compelling
> in PHP5 that doesn't rely on you being an OOP developer?
The XML stuff, if you need to parse XML a lot, which is not exactly a
niche market, but not everybody needs it either.
That said:
PHP 4 end of shelf life is just that.
It's software that you're simply going to see less and less of as
fewer and fewer hosts/distros use it.
If you analyze the situation more carefully, I think you'll find that
the statistics about PHP 4 versus PHP 5 adoption are pretty skewed by
large-scale webhosts that are offering PHP 5 now, but aren't pushing
their clients to move to a new box with PHP 5, nor upgrading to PHP 5
on the box they are using.
Will they start pushing their clients or upgrading PHP out from under
them?
Probably some of both.
Will PHP 4 suddenly disappear from the face of the Earth in December?
Or course not.
Should you jump through hoops to write new code that works in both 4
and 5?
Probably not, as PHP 5 is readily available to anybody.
Should your old code that runs on 4 be made to run on 5?
Maybe not today, or even tomorrow, but unless you want to co-lo your
own box with software for which even Security updates aren't available
after Aug 8, 2008 (I think that's the date), then, yeah, you probably
should re-write any code that won't run on 5. Of which there probably
won't be very much at all.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?