PHP 8.2.2 Released – Comprehensive Bug‑Fix Update
PHP 8.2.2, a bug‑fix release, addresses numerous issues across the core engine, FPM, hash, LDAP, opcache, phar, PHPDBG, POSIX, random, standard library, and XMLWriter components, providing a more stable and secure version for developers.
PHP 8.2.2 has been released as a bug‑fix version, bringing stability and security improvements to the language.
Core Fixed GH‑10200 – assertion failure in zif_get_object_vars . Fixed GH‑10251 – assertion failure for flag checks. Fixed GH‑10240 – assertion failure when adding more than 2**30 elements to an unpacked array. Fixed GH‑9735 – Fiber stack variables excluded from cycle collector. Fixed GH‑9675 – Corruption of run_time_cache init for internal enum methods.
FPM Fixed #77106 – missing separator in FastCGI error messages. Fixed GH‑9981 – FPM no longer resets fastcgi.error_header . Fixed #68591 – UID lookups are now performed during configuration tests. Fixed memory leak occurring while running FPM configuration tests. Fixed #67244 – corrected owner:group handling for Unix socket listeners.
Hash Handled exception in XXH3 initialization when __toString throws.
LDAP Fixed GH‑10112 – LDAP\Connection::__construct() now correctly points to ldap_create() .
Opcache Fixed inverted bailout value in zend_runtime_jit() . Fixed access to uninitialized variable in accel_preload() . Fixed crash in zend_jit_find_trace() . Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit .
Phar Fixed incorrect flag check for compression methods in phar_object.c .
PHPDBG Fixed undefined behavior in phpdbg_load_module_or_extension() . Fixed NULL pointer dereference in phpdbg_create_conditional_breal() . Fixed memory leak triggered by the -h option (GH‑9710). Fixed segmentation fault on malformed input.
Posix Fixed memory leak in posix_ttyname() .
Random Fixed theoretical file‑descriptor leak of /dev/urandom (GH‑10247).
Standard Fixed segfault on stripslashes() under arm64 (GH‑10187). Fixed incomplete syntax validation during unserialize() (GH‑10214).
XMLWriter Added missing check in xmlTextWriterEndElement .
Download URL: https://windows.php.net/download/
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.