PHP 8.2.0RC1 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.26 is highly recommended.
PHP 8.2 continues to receive bug fixes and security fixes until 2024-12-31.
Downloads
Source Code
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.2.0RC1
./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
Docker/Podman Containers
docker pull php:8.2.0RC1-cli-alpine
docker pull php:8.2.0RC1-cli
docker pull php:8.2.0RC1-fpm-alpine
docker pull php:8.2.0RC1-apache
docker pull php:8.2.0RC1-fpm
Commit List
Alex Dowad
- Reintroduce legacy 'SJIS-win' text encoding in mbstring in 371367ce3e
Andreas Braun
- Update gen_stub to avoid compile errors on duplicate function names in f7d42f646b
Ben Ramsey
- Revert "Fix GH-9296:
ksort
behaves incorrectly on arrays with mixed keys" in 1862152145
Bob Weinand
- Add an API to observe functions and classes being linked in bf427b732a
- Wrap observer notify functions into inlined enabled checks in 396b2aab85
- Delay fiber VM stack cleanup until after observer has been called in 8fe1db2089
Calvin Buckley
- Fix GH-9347: Current ODBC liveness checks may be inadequate in f3a14d1b1a
Christoph M. Becker
- Fix GH-9316: $http_response_header is wrong for long status line in 72da418719
- Fix GH-9227: Trailing dots and spaces in filenames are ignored in a1f5c8a587
- Fix GH-9361: Segmentation fault on script exit in bb341210f5
- Don't enforce 64 hit counter on Windows in 9313cd899e
- Fix typo (Paletter → Palette) in b78c087b32
- xmlRelaxNGCleanupTypes() is deprecated as of libxml2 2.10.0 in f59754694e
- Support test-ini also for phpize builds in c643cbf388
- Drop unsupported libxml2 2.10.0 symbols in ca011bbf56
- Revert "Fix GH-9296:
ksort
behaves incorrectly on arrays with mixed keys" in 725cb4e8ad - Fix tests in 65619e868c
- Add NEWS and UPGRADING entries for GH-9296 in 853181a14d
David Carlier
- opcache jit fix message format for OpenBSD in 52e312afb8
- FPM fix strict prototype warnings in e2a5428ca0
David CARLIER
- GH-9370: Fix opcache jit protection bits in e787d9a0dc
Derick Rethans
- Fixed bug GH-9431:
DateTime::getLastErrors()
not returning false when no errors/warnings in 932586c426
Dmitry Menshikov
- Fix GH-8885: access.log with stderr writes logs to error_log after reload in f92505cf24
Dmitry Stogov
- Tracing JIT: Fix incorrect guard elimination in c9c51eb1f1
- Fix memory leaks in 73c2d79fc5
- JIT: Make code generation to be consistent with register allocation in fd74ee7e90
- Fix type inference in 95befc786a
- Drop range inference for IS_NULL/IS_FALSE/IS_TRUE in 567213c32a
- Fix coding style in 205ad0af29
- Reduce observer overhead when restoring script from opcache in GH-9413
- Fix
ext/opcache/tests/jit/inc_obj_004.phpt
failure introduced by fd74ee7e in ce42dcf483 - JIT: Fix missing type store in 4b884bedc8
- Fix memory leak in 4135e6011c
- typo in 263a07e5b0
Gabriel Caruso
- Prepare for 8.0.24 in 7c6316ad1c
George Peter Banyard
- Fix bad merge in 5739dd0030
- Revert Fixed bug #79451 in d6831e9a5c
- Add a new zend API to check that strings don't have NUL bytes in GH-9375
- Use bool instead of int in session struct in e8e015777e
- Add test for negative cookie lifetime in a75de167bf
- Remove OnUpdateLazyWrite validator in e9749a3c1e
- Remove OnUpdateTransSid validator in ad3ee47c6d
- Check sessions are active before output emitted consistently in a8f8cc207c
- SameSite session cookie prop should behave like other INI settings in 66aed3a86f
- Check at compile time that a built-in class is not being aliased in GH-9402
Ilija Tovilo
- Fix strict-prototypes warning in 3264f2367d
Jakub Zelenka
- Fix GH-9339: OpenSSL oid_file path check warning contains uninitialized path in 84dcf578b1
- Fix GH-9310: SSL local_cert and local_pk do not respect
open_basedir
restriction in 505e8d2a04 - Implement FR #76935: OpenSSL chacha20-poly1305 AEAD support in 1407968891
- Add openssl_cipher_key_length function in 35e2a25d83
- Fix GH-8885 tests on MacOS in bcdd9877e1
- Re-add fixed tests for GH-8885 in 986e7319c5
- Fix bug #77780: "Headers already sent" when previous connection was aborted in 3503b1daa2
- Fix FPM tester conflict in e3034dba3e
Michael Voříšek
- Fix pdo_oci tests for PHP 8.0 in 305892580e
- Fix pdo_oci tests for PHP 8.1 in 2db2cab6ad
- Test oci8 & pdo_oci in CI in c19116ff09
- Fix oci8/pdo_oci random test failures when run in parallel in be4dd60c55
- Fix GH-8348 for nightly in 34d9e089c2
- Fix pdo_dblib ext test conflicts when run in parallel in f86629569c
Mikhail Galanin
- Add a bit verbosity in FPM logs in 335979fe1b
Máté Kocsis
- Declare
ext/curl
constants in stubs in GH-9384 - Declare
ext/tidy
constants in stubs in GH-9383 - Fix GH-9285 Traits cannot be used in readonly classes in 0897266219
- Declare
ext/intl
constants in stubs - part 13 in GH-9385 - Fix curl/sync_constants.php in GH-9391
- Declare phpdbg constants in stubs in GH-9392
- Declare
ext/intl
constants in stubs - part 14 in GH-9387 - Declare
ext/standard
constants in stubs - part 1 in GH-9404 - Declare ext/oci8 constants in stubs in GH-9419
- Declare
ext/standard
constants in stubs - part 2 in GH-9426 - Declare
ext/standard
constants in stubs - part 3 in GH-9427 - Do not generate CONST_CS when registering constants in GH-9439
- Fix zend/test aliases in ef21bbe66c
- Adjust PHPDoc in 869ab3c481
- Remove unused ext/
zend_test
alias functions in 8d78dce902 - Fix GH-9186 @strict-properties can be bypassed using unserialization in GH-9354
NathanFreeman
- Fix bug #79451: Using DOMDocument->replaceChild on doctype causes double free in 1d4300d870
- Fix #79451: DOMDocument->replaceChild on doctype causes double free in 6027d441c1
Ollie Read
- Enum error message consistency in GH-9350
Pierrick Charron
- Prepare PHP 8.2.0 RC1 in 58a92772ab
- Making PHP 8.2.0 RC1 in 6a0e11445d
Remi Collet
- add compat stuff for function attributes in aa702c5459
Sara Golemon
- Catch up dev version numbers in 3d6ed8c852
Tim Düsterhus
- Unify structure for
ext/random
's engine tests in GH-9321 - Fix
rand_range32()
for umax = UINT32_MAX in GH-9416 - Select
rand_rangeXX()
variant only based on the requested range in GH-9418
Tim Starling
- Fix GCC 9.4 uninitialized variable warning in 410e5d48a3
- Fix GH-9323: crash when the VM enters userspace code via the GC in ba029fce68
- Add
libxml_get_external_entity_loader()
in 11796229f2
Tyson Andre
- Make var_export/debug_zval_dump check for infinite recursion on the object in GH-9448
Vedran Miletić
- Respond without body to HEAD request on a static resource in 4f509058a9
- Respond with HTTP status 405 to DELETE/PUT/PATCH request on a static resource in 7065a222b7
wxue1
- Stop JIT hot spot counting in GH-9343