PHP 4 end of life announcement
[13th July 2007] Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.
The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.
My Web host (site5) has now switched to PHP5 as the default which is great news and expect many other Web hosting companies follow suit.
This was also to serve as a remainder to all PHP developers.
Some people may asked, "What's wrong with PHP4?"
To answer that question, here is a great summary from Go PHP 5:
Nothing! Well, nothing for its time. PHP 4 was released in 2000, and last had a serious functional update in 2003. PHP 4 had a number of very nice features that made it one of the dominant web programming languages in the world. Unfortunately it also had a number of shortcomings, many of which have been corrected in PHP 5.
For instance, modern "Web Services" are built on XML. In PHP 4, XML handing is a very slow and difficult process. That makes it harder for developers to support web services in PHP applications. In PHP 5, however, XML processing is fast and easy, allowing web developers to build richer, faster web services applications or features.
PHP 4 also used a completely separate set of functions for every different database that PHP supports. That made supporting multiple databases difficult. It also leaves it up to the developer to always check against "SQL Injection", a method that n'er do wells use to hack a web site. Even the best developer can make a mistake and leave a security hole that an intruder can exploit. PHP 5, however, offers a new, robust database system called PDO that provides a single interface to all of PHP's supported databases and handles protecting against SQL Injection automatically. That makes writing secure applications easier, which in turn keeps web sites safer.
There are various other important features that PHP 4 lacks that PHP 5 supports, such as true object orientation or vastly improved timezone handling. These weren't issues in 2000 when PHP 4 was released, but they are important features now in 2007/2008. PHP 4 has served us well, but it is time to move on.
Taken from http://www.gophp5.org/faq#n6
- ‹ previous
- 16 of 167
- next ›

Delicious
Digg
StumbleUpon
Reddit
Newsvine
Google
Technorati


Recent comments
1 week 2 days ago
1 week 6 days ago
1 week 6 days ago
5 weeks 3 days ago
7 weeks 5 days ago
8 weeks 6 hours ago
8 weeks 3 days ago
8 weeks 4 days ago
8 weeks 6 days ago
8 weeks 6 days ago