Peringatan kedaluwarsa PHP : PHP v8.1 baru saja habis masa berlakunya. Apakah situs web Anda masih menjalankan versi ini? Klik di sini untuk lebih jelasnya
PHP 8.4.26 dirilis pada 24 September 2026. Di bawah ini adalah daftar lengkap perubahan yang dibawanya, dikelompokkan menurut bagian PHP yang terdampak oleh setiap perubahan.
Keamanan Rilis ini memperbaiki masalah keamanan. Sejak itu PHP 8.4 sudah memiliki rilis yang lebih baru, jadi jika situs Anda berjalan di PHP 8.4, perbarui ke PHP 8.4.27, yang sudah mencakup perbaikan ini.
Fixed odbc_field_len(), odbc_field_scale() and odbc_field_type() returning uninitialized memory when SQLColAttribute fails. (Ilia Alshanetsky)
Opcache
Fixed a crash when the huge page SHM remap discarded mappings outside the reserved address range. (Piotr Hałas)
Fixed opcache.protect_memory race under ZTS. (realFlowControl)
Fixed bug GH-23288 (Crash on restart when opcache.interned_strings_buffer is overridden in an individual FPM pool). (David Carlier)
Fixed a tracing JIT crash when compiling a side trace for a method of a class that could not be stored in the inheritance cache. (GH-21710) (Arnaud, iliaal)
Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka)
Standard
Fixed a segfault when a stream filter callback unsets StreamBucket::$data before re-attaching the bucket. (iliaal)
Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header). (CVE-2026-93682) (Ilia Alshanetsky, Jordi Kroon)
Fixed a memory leak in array_merge_recursive() when the recursive merge of an object converted to an array fails. (David Carlier)
Fixed read buffer compaction in php_stream_filter_flush(). (crystarm)
Fixed bug GH-22410 (Incorrect float behavior with large numbers). (arshidkv12)
Fixed GH-23338 (fsockopen()/pfsockopen() ValueError reported wrong argument number for $timeout). (lacatoire)
Fixed bug GH-23576 (Next index for array returned from array_keys() is wrong). (Lazizbek Ergashev)
Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters when line-break-chars contains NUL). (CVE-2026-92842) (geeknik)
Fixed GHSA-fpwc-w8rq-cr92 (Cross-origin credential leak in HTTP stream wrapper redirects). (CVE-2026-91766) (Alexandre Daubois, Jakub Zelenka)
SimpleXML
Fixed writing to a dimension of the object returned by attributes() not creating the attribute. (Ilia Alshanetsky)
Fixed child elements of the element returned by SimpleXMLElement::addChild() not being accessible by property name when namespaces are involved. (Ilia Alshanetsky)
Windows
Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka)
Zip
Fixed bug GH-23276 (ZipArchive subclass storing its own stream cannot be garbage collected). (Weilin Du, ndossche)
Fixed ZipArchive::extractTo() and ZipArchive::getFrom*() reporting success on corrupted entries. (David Carlier)
Fixed ZipArchive::getNameIndex() truncating the entry index to int. (David Carlier)
Fixed fstat() on a zip:// stream reporting success when the archive cannot be opened. (David Carlier)
SAPI
Fixed fuzzer targets failing to build in isolation. (Mrmaxmeier)
Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo)
Daftar ini berasal dari file NEWS yang dikelola para pengembang PHP bersama kode sumber PHP, dan daftar yang sama juga dipublikasikan di php.net.
Jika Anda tidak ingin menggunakan alat kami atau sudah mencoba, berikut adalah daftar tiga tes sederhana yang dapat Anda lakukan untuk menentukan versi PHP Anda.Kami telah menyusunnya berdasarkan tingkat kerumitan, dimulai dari yang paling mudah.