Release Information
- Release Type
- Bug Fix Release
- Release Status
- QA Release Latest
- Branch Status
- Upcoming Release
PHP 8.3 is a development version, and is not recommended for production use. PHP 8.3 is scheduled to reach General Availability on 2023-11-23. This is the latest QA release in the series.
Downloads
Source Code
Git Clone
Use Git to clone the 8.3.0RC3 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.3.0RC3
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (
Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
./buildconf
), configuring the build ./configure
, and running make
.Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
Windows binaries
Non-Thread Safe Builds
Non-Thread Safe (NTS) builds are single-threaded PHP builds. They can be used on web servers that integrate PHP over FastCGI protocol, such as Nginx, Caddy, and IIS.
php-8.3.0RC3-x64NTS.zip (30.6 MiB)
php-8.3.0RC3-x86NTS.zip (27.49 MiB)
Thread-Safe Builds
Thread-Safe (TS) builds are multi-thread PHP builds, often used to integrate PHP as a Server API for multithreaded servers. The most common use case is using PHP as an Apache module.
php-8.3.0RC3-x64TS.zip (30.74 MiB)
php-8.3.0RC3-x86TS.zip (27.47 MiB)
Docker/Podman Containers
PHP CLI
PHP CLI Containers images only include the PHP CLI, and no FPM or Apache modules. The Alpine builds are lightweight, but may introduce incompatibilities due to their musl builds. Albeit their larger size, the Debian-based (without the "-alpine" suffix) images are more complete, and widely used.
Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.3.0RC3-cli-alpine
Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.3.0RC3-cli
PHP CLI + Web Server Integration
These container images include PHP CLI, and a web server integration. FPM container images can be integrated with web servers such as Nginx, Caddy, and Apache with Event MPM. The Apache container images include Apache web server, integrating PHP as an Apache module.
Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.3.0RC3-fpm-alpine
Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.3.0RC3-apache
Debian-based NTS FPM: PHP-FPM, can be integrated with Nginx, Caddy, and other web servers over Fast CGI.
docker pull php:8.3.0RC3-fpm
ChangeLog
Core
- Fixed bug GH-12189 (#[Override] attribute in trait does not check for parent class implementations).
- Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable warning).
- Fixed bug GH-12215 (Module entry being overwritten causes type errors in
ext/dom
). - Fixed bug GH-12207 (memory leak when class using trait with doc block).
- Fixed bug GH-12273 (__builtin_cpu_init check).
Filter
- Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK
Hash
- Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
Intl
- Fixed bug GH-12243 (segfault on
IntlDateFormatter::construct
). - Fixed bug GH-12282 (
IntlDateFormatter::construct
should throw an exception on an invalid locale).
SimpleXML
- Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML).
- Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called within foreach).
- Fixed bug GH-12223 (Entity reference produces infinite loop in var_dump/print_r).
- Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a foreach).
- Fixed bug #55098 (SimpleXML iteration produces infinite loop).
- Fixed bug GH-12167 (Unable to get processing instruction contents in SimpleXML).
- Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
Streams
- Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
XML
- Fix return type of stub of
xml_parse_into_struct()
. - Fix memory leak when calling
xml_parse_into_struct()
twice.
Commit List
David Carlier
- Fix GH-12243, segfault on
IntlDateFormatter::construct
with dateType set to UDAT_PATTERN but not timeType in 84c4336aa3 - Fix GH-12282:
IntlDateFormatter::construct
should throw an exception is the locale field has an invalid value in a80db7b52a - Fix GH-12190:
stream_context_create
with address and port at 0 in d65c80031a
divinity76
- support running testsuite with negative niceness in GH-11481
Florian Sowade
- Fix GH-12207 memory leak of doc blocks of static properties in 910f579f14
George Peter Banyard
- Fixed oss-fuzz #62294: Unsetting variable after ++/-- on string variable warning in 0b614a6c2b
Ilija Tovilo
- Fix filter_var with callback and explicit REQUIRE_SCALAR in c2fb10d2d2
- Upgrade to macOS 12 in CI in 55ed7690f4
- Fix getpriority test with negative return value in 181598d403
Jakub Zelenka
- Reduce impact of stream file path check in filestat in 5e8c992c78
- Update versions for PHP 8.3.0RC3 in caa46e0c7f
Levi Morrison
- Set func pointer to null in Closure __invoke in GH-12275
Max Semenik
- Fix GH-12186: segfault copying/cloning a finalized HashContext in 10f5a06d3c
Niels Dossche
- Fix GH-12170: Can't use xpath with comments in SimpleXML in 747335f100
- Fix GH-12192: SimpleXML infinite loop when getName() is called within foreach in 4d888cf53f
- Fix GH-12223: Entity reference produces infinite loop in var_dump/print_r in 39a9e561f9
- Fix GH-12208: SimpleXML infinite loop when a cast is used inside a foreach in 486276f0f9
- Fix GH-11956: PCRE regular expressions with JIT enabled gives different result in d61efdfe97
- Fix bug #55098: SimpleXML iteration produces infinite loop in 1a4e401bf0
- Fix GH-12215: Module entry being overwritten causes type errors in
ext/dom
(<= PHP 8.3) in da6097ffc8 - Fix return type of stub of
xml_parse_into_struct()
in b1d9a8d321 - Fix memory leak when calling
xml_parse_into_struct()
twice in 30f26b587a - Fix GH-12167 and GH-12169: Unable to get comment or processing instruction contents in SimpleXML in 82a84d0b7b
Thomas Hurst
- Fix GH-12273 - configure __builtin_cpu_init() check in d93800ec0f
- Fix GH-12273 - configure __builtin_cpu_init() check in 66a33dbdce
Tim Düsterhus
- Update GitHub Action workflows to
actions/checkout@v4
in 45e60e585e - Update GitHub Action workflows to
actions/checkout@v4
(8.3+) in 99cd81cd0a - Add abstract __construct() test for #[\Override] (024.phpt) in 0e9d658dd2
- Fix #[Override] on traits overriding a parent method without a matching interface in GH-12205