Documentation for PHP 4


The PHP 4 documentation was removed from the PHP Manual in August 2014, approximately six years after PHP 4 reached its end of life. However, we have provided downloadable copies of the manual for anyone who would need it.

PHP 4 Manual

An attempt has been made to preserve as much documentation related to PHP 4, as possible. Despite this, we don't have a nice, separate manual covering only PHP 4. The reason for this is how our documentation is structured. Even so, the archived copy describes more aspects of PHP 4 than actual manual described in August 2014 (e.g. it covers more PHP 4 extensions).

To download a copy of the manual for PHP 4, see the documentation archives. Please, remember, that archived version should not be used in everyday development, unless you are developing PHP 4 applications. This version lacks many topics connected with newer PHP versions and it is not updated anymore.

Migrating to supported PHP version

All users are strongly encouraged to upgrade their environments to newest PHP version. Please, read our guides for Migrating from PHP 4 to PHP 5.0.x for more information.

To Top