PHP 8.2.0RC2 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.0RC2
./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.0RC2-cli-alpine
docker pull php:8.2.0RC2-cli
docker pull php:8.2.0RC2-fpm-alpine
docker pull php:8.2.0RC2-apache
docker pull php:8.2.0RC2-fpm
Commit List
Arnaud Le Blanc
- Add tests in db1ef97209
- Fix high opcache.interned_strings_buffer causing shm corruption in GH-9260
- Log the cause of error when opcache cannot write to file cache in GH-9258
- Check return value of
zend_jit_trace_get_exit_addr()
in GH-9097
Ben Ramsey
- Add PHP-8.2 branch to build processes in 8330a0f323
Bob Weinand
- Store default object handlers alongside the class entry in 9e6eab3c13
- Fix compilation on MacOS in 800c6672e5
- Port all internally used classes to use default_object_handlers in 94ee4f9834
- Revert "Port all internally used classes to use default_object_handlers" in a01dd9feda
- Revert "Store default object handlers alongside the class entry" in 5a0b68bed7
- Revert "Fix compilation on MacOS" in d1fc0017c9
Christoph M. Becker
- Fix GH-9518: Disabling IPv6 support disables unrelated constants in 76dccd8207
David Bohman
- GH-9464: Fix build on older macOs releases in f098193d15
David CARLIER
Derick Rethans
- Fixed MemorySanitizer: use-of-uninitialized-value warning introduced by 932586c4 in 8cdfffb753
- Don't return existing error_container/NULL, but use by-ref instead in f799bc4eca
- Fixed error updating once more in 49c029858b
Dmitry Stogov
- Fix type inference in 81cb005ef7
- Reset FG(user_stream_current_filename) at the end of request in d0b3096ff0
George Peter Banyard
- Update INI validator and displayers depending on INI type in 1ad59b32c2
- Update globals to use bool type in 5011a185b5
- Add
zend_string
INI validators in 3e362f51ac - Introduce PROGRESS_CACHE_SLOT() macro in 80315edd58
- Fix GH-9516: (A&B)|D as a param should allow AB or D. Not just A in 9286101da4
- Use DNF intersection type check also for simple intersection types in c70a8281e3
- Update cache slot size calculation in
compact_literals.c
in 6c4d24e4f0 - Only check classes in intersection type if the type might be valid in 5bfceae770
- Update NEWS with DNF type check bug fix in 3675041d03
- Fix GH-9308 GMP throws the wrong error when a GMP object is passed to
gmp_init()
in 293e69179d - Fix GH-9421 Incorrect argument number for ValueError in NumberFormatter in 47500f3300
- Refactor
_xml_add_to_info()
in 0b8ad94b91 - Mark
_xml_decode_tag()
as taking a const XML_Char* in 6aef13402e - Do early returns in
xml.c
in 951bd74038
Ilija Tovilo
- Fix class name FQN when AST dumping new and class const in 2cfb028e22
- Private method incorrectly marked as "overwrites" in reflection in 1435fc6262
- Fix lsp error in eval'd code referring to incorrect class for static type in d5373eac46
- Fix undefined left shift in oci in aa7f4497bf
- Skip oci tests that leak under asan in 4a8cca241f
- Fix syntax error when dnf type in parens after readonly in 08b7539583
- Mark
gh9259_003.phpt
asxfail
with ASAN in e9a0d21a06 - Fix
ZEND_RC_MOD_CHECK()
for thread local ini parser strings in 9af98cd465
Jakub Zelenka
- Fix bug GH-9517: Compilation error in openssl extension in f126769a29
Michael Voříšek
- Always skip randomly failing OCI8 extauth tests in 9a73ec0367
- Fix
oci_success_with_info.phpt
test random failures in 7fd14eb08b
Máté Kocsis
- Declare
ext/standard
constants in stubs - part 4 in 64b962b241 - Declare
ext/standard
constants in stubs - part 5 in 6f2f228e4a - Fix memory leak triggered by unsuccessful dynamic property unserialization in 5c3559464b
- Declare
ext/standard
constants in stubs - part 6 in cfa72ff3af - Add parenthesis around preprocessor conditions in stubs in e733ebf30e
- Regenerate optimizer func info after preprocessor condition changes in 5210872747
- Fix inexistent
skipif
.inc in 59180b50b3 - Add support for validation of missing class synopses in GH-9472
- Upgrade PHP parser to 4.15.1 in 05aa3b3e0a
- Add support for validation of missing method synopses in GH-9491
- Declare
ext/standard
constants in stubs - part 7 in GH-9505 - Validate if the refpurpose and the description is in sync in GH-9510
- Require PHP 7.4 at least for running the build system in GH-9519
- Use PHP 7.4 syntax in
gen_stub.php
in 8b632749d7
Nicolas Grekas
Niklas Keller
- Fix pcre.jit on Apple Silicon in f8b217a345
Pierrick Charron
- Prepare NEWS for PHP 8.2.0RC2 in 9f303cf7d3
Sara Golemon
- Bump for 8.0.25 in 559da529a0
Sergey Panteleev
- Update versions for PHP 8.2.0RC2 in 743c741114
Tim Düsterhus
- Mark
crypt()
's $string parameter as #[\SensitiveParameter] in c77bbf6fe5 - Unify structure for
ext/random
's randomizer tests in GH-9410 - random: Validate that the arrays do not contain extra elements when unserializing in GH-9458
Yurun
- Fix GH-9411: PgSQL large object resource is incorrectly closed in 6ac3f7c84d