mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
83111843804ca577a378fd1562f332cbf962bb96
With this diff, version.inc will ONLY export one "variable" named $RELEASES which will continue to have the same format as previous. It will also export a helper method named release_get_latest() for quickly accessing the most recent version published. All other globals previously exported by this function are no longer used on web-php.
Local development
This is the git repo for the official www.php.net website.
To setup a local mirror of the website:
$ git clone https://github.com/php/web-php.git
$ cd web-php
$ php -S localhost:8080 .router.php
This repo includes most (generated) files that are required for normal operation of this website, such as
- News & events data
- Several manual pages (and a translation), see manual/{en,ja}/
- User contributed notes for manual pages
- A "router" for the builtin PHP webserver
Setting up an official mirror
To install a full official mirror please see the mirroring guidelines.
Code requirements
Code must function on a vanilla PHP 5.3 installation as some php.net mirrors still run PHP 5.3. Please keep this in mind before filing a pull request.
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:26:27.645Z
Languages
PHP
94.4%
CSS
2.6%
JavaScript
2.5%
PowerShell
0.2%
TypeScript
0.2%