[ Web Proxy ]
URL:
Viewing: https://www.php.net/ [Back]  [Original]

PHP
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
php [php]

A popular general-purpose scripting language that is especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

13 Aug 2026

PHP 8.6.0 Beta 1 is available for testing

The PHP team is pleased to announce the first beta release of PHP 8.6.0, Beta 1. This continues the PHP 8.6 release cycle, the rough outline of which is specified in the PHP Wiki.

For source downloads of PHP 8.6.0 Beta 1 please visit the download page.

Please carefully test this version and report any issues found on GitHub.

Please DO NOT use this version in production, it is an early test version.

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

The next release will be Beta 2, planned for 27 Aug 2026.

The signatures for the release can be found in the manifest or on the Release Candidates page.

Thank you for helping us make PHP better.

30 Jul 2026

PHP 8.4.24 Released!

The PHP development team announces the immediate availability of PHP 8.4.24. This is a security release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.24 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

30 Jul 2026

PHP 8.3.33 Released!

The PHP development team announces the immediate availability of PHP 8.3.33. This is a security release.

All PHP 8.3 users are encouraged to upgrade to this version.

For source downloads of PHP 8.3.33 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

30 Jul 2026

PHP 8.6.0 Alpha 3 available for testing

The PHP team is pleased to announce the second testing release of PHP 8.6.0, Alpha 3. This continues the PHP 8.6 release cycle, the rough outline of which is specified in the PHP Wiki.

For source downloads of PHP 8.6.0 Alpha 3 please visit the download page.

Please carefully test this version and report any issues found in the GitHub Issues.

Please DO NOT use this version in production, it is an early test version.

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

The next release will be Beta 1, planned for 13 August 2026.

The signatures for the release can be found in the manifest or on the pre-release builds page.

Thank you for helping us make PHP better.

30 Jul 2026

PHP 8.5.9 Released!

The PHP development team announces the immediate availability of PHP 8.5.9. This is a security release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.9 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

30 Jul 2026

PHP 8.2.33 Released!

The PHP development team announces the immediate availability of PHP 8.2.33. This is a security release.

All PHP 8.2 users are encouraged to upgrade to this version.

For source downloads of PHP 8.2.33 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

16 Jul 2026

PHP 8.6.0 Alpha 2 available for testing

The PHP team is pleased to announce the second testing release of PHP 8.6.0, Alpha 2. This continues the PHP 8.6 release cycle, the rough outline of which is specified in the PHP Wiki.

For source downloads of PHP 8.6.0 Alpha 2 please visit the download page.

Please carefully test this version and report any issues found in the GitHub Issues.

Please DO NOT use this version in production, it is an early test version.

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

The next release will be Alpha 3, planned for 30 July 2026.

The signatures for the release can be found in the manifest or on the pre-release builds page.

Thank you for helping us make PHP better.

02 Jul 2026

PHP 8.5.8 Released!

The PHP development team announces the immediate availability of PHP 8.5.8. This is a security release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.8 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

02 Jul 2026

PHP 8.4.23 Released!

The PHP development team announces the immediate availability of PHP 8.4.23. This is a security release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.23 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

02 Jul 2026

PHP 8.6.0 Alpha 1 available for testing

The PHP team is pleased to announce the first testing release of PHP 8.6.0, Alpha 1. This starts the PHP 8.6 release cycle, the rough outline of which is specified in the PHP Wiki.

For source downloads of PHP 8.6.0 Alpha 1 please visit the download page.

Please carefully test this version and report any issues found in the GitHub Issues.

Please DO NOT use this version in production, it is an early test version.

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

The next release will be Alpha 2, planned for 16 July 2026.

The signatures for the release can be found in the manifest or on the pre-release builds page.

Thank you for helping us make PHP better.

02 Jul 2026

PHP 8.3.32 Released!

The PHP development team announces the immediate availability of PHP 8.3.32. This is a security release.

All PHP 8.3 users are encouraged to upgrade to this version.

For source downloads of PHP 8.3.32 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

02 Jul 2026

PHP 8.2.32 Released!

The PHP development team announces the immediate availability of PHP 8.2.32. This is a security release.

All PHP 8.2 users are encouraged to upgrade to this version.

For source downloads of PHP 8.2.32 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

04 Jun 2026

PHP 8.4.22 Released!

The PHP development team announces the immediate availability of PHP 8.4.22. This is a bug fix release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.22 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

04 Jun 2026

PHP 8.5.7 Released!

The PHP development team announces the immediate availability of PHP 8.5.7. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.7 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

07 May 2026

PHP 8.5.6 Released!

The PHP development team announces the immediate availability of PHP 8.5.6. This is a security release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.6 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

07 May 2026

PHP 8.2.31 Released!

The PHP development team announces the immediate availability of PHP 8.2.31. This is a security release.

All PHP 8.2 users are encouraged to upgrade to this version.

For source downloads of PHP 8.2.31 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

07 May 2026

PHP 8.4.21 Released!

The PHP development team announces the immediate availability of PHP 8.4.21. This is a security release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.21 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

07 May 2026

PHP 8.3.31 Released!

The PHP development team announces the immediate availability of PHP 8.3.31. This is a security release.

All PHP 8.3 users are encouraged to upgrade to this version.

For source downloads of PHP 8.3.31 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

09 Apr 2026

PHP 8.4.20 Released!

The PHP development team announces the immediate availability of PHP 8.4.20. This is a bug fix release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.20 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

09 Apr 2026

PHP 8.5.5 Released!

The PHP development team announces the immediate availability of PHP 8.5.5. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.5 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

12 Mar 2026

PHP 8.5.4 Released!

The PHP development team announces the immediate availability of PHP 8.5.4. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.4 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

12 Mar 2026

PHP 8.4.19 Released!

The PHP development team announces the immediate availability of PHP 8.4.19. This is a bug fix release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.19 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

12 Feb 2026

PHP 8.5.3 Released!

The PHP development team announces the immediate availability of PHP 8.5.3. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.3 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

12 Feb 2026

PHP 8.4.18 Released!

The PHP development team announces the immediate availability of PHP 8.4.18. This is a bug fix release.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.18 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

15 Jan 2026

PHP 8.5.2 Released!

The PHP development team announces the immediate availability of PHP 8.5.2. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.2 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

Older News Entries

The PHP Foundation

The PHP Foundation is a collective of people and organizations, united in the mission to ensure the long-term prosperity of the PHP language.

Donate

User Group Events

Special Thanks

To Top [To Top]

Web Proxy Viewer  |  New URL  |  Original Page