xref: /web-php/manual/php5.php (revision 3308dd45)
1<?php
2$_SERVER['BASE_PAGE'] = 'manual/php5.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header('PHP Version 5 Documentation');
5?>
6
7<h1>Documentation for PHP 5</h1>
8
9<h2>Introduction</h2>
10<p>
11 The PHP 5 documentation was removed from the PHP Manual in September 2020,
12 approximately two years after PHP 5 reached its end of life. However, we have
13 provided downloadable copies of the manual for anyone who would need it, as well
14 as a link to a hosted third-party version.
15</p>
16
17<h2>PHP 5 Manual</h2>
18<p>
19 An attempt has been made to preserve as much documentation related to PHP 5 as
20 possible. Despite this, we don't have a nice, separate manual covering only PHP 5.
21 The reason for this is how our documentation is structured. Even so, the linked copies
22 describe more aspects of PHP 5 than the actual manual described in September 2020 (e.g.
23 it covers more PHP 5 extensions).
24</p>
25
26<ul>
27 <li>
28  You can download a copy in the <a href="http://doc.php.net/archives/">documentation archives</a>.
29 </li>
30 <li>
31  You can also find the <a href="https://php-legacy-docs.zend.com/manual/php5/en/index">PHP 5 legacy manual</a>
32  on the Zend site, which was created from the official archives. This version of the manual is
33  maintained by Zend and not the PHP Documentation Group. Any questions about its content should be reported
34  via the "Report a Bug" links on the appropriate pages.
35 </li>
36</ul>
37
38<p>
39 Please remember that these documentation versions <strong>should not
40 </strong> be used in everyday development, unless you are maintaining PHP 5 applications.
41 These versions lacks many topics connected with newer PHP versions and are not updated anymore.
42</p>
43
44<h2>Migrating to supported PHP version</h2>
45<p>
46 All users are strongly encouraged to upgrade their environments to newest PHP version.
47 Please read our guides for <a href="http://php.net/manual/en/migration70.php">Migrating
48 from PHP 5.6 to PHP 7.0</a> for more information.
49</p>
50
51<?php
52site_footer();
53