PHP/FI :
In 1995 Rasmus Lerdorf first coded for PHP/FI and this gave birth for PHP. He had used simple set of Perl scripts on his home page to keep track of who were looking at his online resume. The first version of PHP was released in 1995 and was known as the Personal Home Page Tools.
PHP/FI, stood for Personal Home Page / Forms Interpreter and it included some of the basic functionality of PHP. It had Perl-like variables, automatic interpretation of form variables and HTML embedded syntax.
PHP/FI Version 2 :
Then in mid-1995 a simplistic parser engine which could understood a few special macros and a number of utilities was introduce and was renamed as PHP/FI Version 2.. Here after PHP/FI grew at an amazing pace and people started contributing their code to it.
PHP version 3 :
Then in 1997 Andi Gutmans and Zeev Suraski had changed and rewritten the parser from scratch and the new parser was borned as PHP version 3. A lot of the utility code from PHP/FI was ported over to PHP 3 and a lot of it was completely rewritten.One of the biggest strengths of PHP 3.0 was its strong extensibility features this was the reason that attracted dozens of developers to join in and submit new extension modules and helped for getting tremendous success.By the end of 1998, PHP grew to an install base of tens of thousands of users (estimated). After spending about 9 months in public testing, finally in June 1998 PHP 3.0 was officially released.
PHP 4 :
To improve performance of some complex applications, and improve the modularity of PHP’s code base it become necessary to use some new features and support from a wide variety of third party databases and APIs, as PHP 3.0 was not able to handle such complex applications at the movement. So a engine, named ‘Zend Engine’ (comprised of their first names, Zeev and Andi) was successfully designed to overcome these problems. This gave birth for PHP 4.0 This version was based on this engine, and coupled with a wide range of additional new features. This version had taken nearly 2 years for its official release ( May 2000 ).
PHP 4 had many new features as, support for many more Web servers, HTTP sessions, output buffering, more secure ways of handling user input and several new language constructs. Today several million sites uses PHP 4, and same number of developers love to code it.
PHP 5 :
After long research and development work with several pre-release versions finally PHP 5 was released in July 2004. It is also based on Zend Engine 2.0 with a new object model and dozens of other new features.
PHP 4’s version was lacking in many features as :
* MySQL extension doesn’t support the new MySQL 4.1
* client protocol
* and XML support is a hodgepodge.
Fortunately, PHP 5 improves on PHP 4 in following terms :
* Object-oriented programming
* MySQL
* XML
* PHP 5 bundles SQLite, providing developers with a database that’s guaranteed to work on all PHP 5 installations.
* PHP 5 offers a completely different model of error checking called exception handling using this you’re freed from the necessity of checking the return value of every function.