PHP 8.2.0RC3: Downloads, Changelog, News

Release Information

Release
8.2.0RC3
PHP Version
PHP 8.2
Release Date
Release Type
Bug Fix Release
Release Status
Use PHP 8.2.19 instead
Branch Status
Supported

PHP 8.2.0RC3 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.19 is highly recommended.
PHP 8.2 continues to receive bug fixes and security fixes until 2024-12-31.

Downloads

Source Code

Git Clone
Use Git to clone the 8.2.0RC3 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.2.0RC3
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (./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.
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.

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.2.0RC3-cli-alpine

Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.2.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.2.0RC3-fpm-alpine

Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.2.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.2.0RC3-fpm

Commit List

Anatol Belski

Andy Postnikov

  • Revert "Fix parse_url(): can not recognize port without scheme" in 2108d6983f

Arnaud Le Blanc

  • Fix test in "DEBUG_NTS_OPCACHE Without interned strings" build in ac54bfb17c

Bruce Dou

Christoph M. Becker

  • Fix #81726: phar wrapper: DOS when using quine gzip file in 404e8bdb68
  • Work around dl(mysqli) issue with OPcache on AppVeyor in bfb4ee7c98
  • Fix GH-9574: SOCKET_EPROTO constant missing since PHP 8.2 dev in 4767b0999d
  • Fix regression introduced by fixing bug 81726 in 432bf196d5
  • Fix new bug81726.phpt for PHP 8.0 in 1a3c9b0542
  • Fix new bug81726.phpt for PHP 8.0 in 809176dab0

Derick Rethans

  • Fix #81727: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning in 0611be4e82
  • Merge timelib 2021.17 in 4a5202293b
  • Fixed #9165: strtotime translates a date-time with DST/non-DST hour differently based on default timezone in e5b4624b8b
  • Add 'const' to match actual API in dd365b044a
  • Integrate timelib 2022.02 in 06d4c70e51
  • Use 'const' for fixed API in f8b27c73c9
  • Add test case for timelib #124 in 7448ee365c
  • Update NEWS in 0f9351669b
  • Use external diff tool if TEST_PHP_DIFF_CMD env var is set in d7d6794f94
  • Add CVEs in 6f586ef90f

Dmitry Stogov

  • Fix memory leak in 8a1f7fa721
  • Fixed warning in 33918f999d
  • Fix SSA construction and type inference in 7496a400aa
  • Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning in e488f7b0eb
  • Intern string values of internal classes to prevent their future interning during inheritance in 3a46f9fd1d
  • Check "ssa_op" before dereference (it may be NULL for opcache.jit=51) in 95d9e5157f
  • Fix memory leak in 8258b7731b
  • Fix memory leak in c083efb779
  • Fixed type inference in 94b8c2da9f
  • Uniform placing of init_fcall guards in ca93e48b77

George Peter Banyard

  • Use true return type for XML functions which always return true in 85d10cc93d
  • Fix GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() method in 8b115254c0

Ilija Tovilo

  • Fix cleaup of fileinfo test in 52850a4c0f
  • Skip 64-bit specific date test on 32-bit in 2cdf7b91e5
  • Don't throw CompileError after parsing in 7e860eaef0
  • Skip nightly coverage job in forks in 0451eded79
  • Backport skipping of ext/date/tests/gh-124.phpt on ASAN in dbbb7427be
  • Fix class link observer with file_cache_only=1 in 6622c54c53
  • Fix test with POSIX_RLIMIT_FSIZE and gcov in 3f1e9235e1
  • Fix UB pointer arithmetics on NULL in fe0eaf107a
  • PS(mod_user_class_name) must not leak into next request in 3071d85a6b
  • Migrate community job to GitHub actions in e10961b27f
  • Move Opcache variation job to GitHub actions in 1bef2e5108
  • Migrate MSAN build to GitHub actions in 9377c30577
  • Migrate --repeat 2 job to GitHub actions in 2cf7d70e53
  • Migrate variation job to GitHub actions in 90b437229f
  • Migrate libmysqlclient job to GitHub actions in 1ee5b65f09
  • Remove symfony and laravel from PHP-8.0 community job in afcaf3bd86
  • Remove unused azure pipelines templates in a9c66f0064
  • Remove unused azure pipelines files from PHP-8.1 branch in 1265115640
  • Backport community build to PHP-8.0 branch in b655451439
  • Add travis_wait to travis for test.sh in 8c20ad1081
  • Switch to sanitize CFLAGS for community build in 12afd0cba8

Jakub Zelenka

  • Rework FPM tests logging for better debugging in 1e8fa6607d

Joshua Rüsweg

  • Remove superfluous helper variable in Randomizer::getBytes() in GH-9563

Máté Kocsis

  • Improve string class constant code generation in GH-9577

Nikita Popov

  • Fix serialization of empty SplFixedArray in 70ad93dd6e

Patrick Allaert

Pierrick Charron

Remi Collet

  • remove LIBZIP_VERSION constant def from stub in 946cdb8ad1
  • zip version bump to 1.21.1 in ef4c20dea9
  • declare random globals as public API in 28a4d7676a

wxue1

  • Indirect call reduction for Jit code in 52f4ed16e0
Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.