PHP 8.4.21 প্রকাশিত হয়েছিল 7 মে 2026 তারিখে। নিচে এতে করা সব পরিবর্তনের পূর্ণ তালিকা দেওয়া হলো, প্রতিটি পরিবর্তন PHP-এর যে অংশে প্রভাব ফেলে সেই অনুযায়ী সাজানো।
নিরাপত্তা এই রিলিজে নিরাপত্তা সমস্যা ঠিক করা হয়েছিল। এরপর PHP 8.4-এর আরও নতুন রিলিজ এসেছে, তাই আপনার সাইট PHP 8.4-এ চললে সেটিকে PHP 8.4.27-এ আপডেট করুন, যাতে এই সংশোধনগুলো আছে।
পরিবর্তনগুলো ইংরেজিতে দেওয়া আছে, ঠিক যেভাবে PHP ডেভেলপাররা সেগুলো লিখেছেন (মোট 41টি)।
Core
Fixed bug GH-19983 (GC assertion failure with fibers, generators and destructors). (iliaal) Fixed bug GH-21478 (Forward property operations to real instance for initialized lazy proxies). (iliaal) Fixed bug GH-21605 (Missing addref for Countable::count()). (ilutov) Fixed bug GH-21699 (Assertion failure in shutdown_executor when resolving self::/parent::/static:: callables if the error handler throws). (macoaure) Fixed bug GH-21603 (Missing addref for __unset). (ilutov) Fixed bug GH-21760 (Trait with class constant name conflict against enum case causes SEGV). (Pratik Bhujel)
CLI
Fixed bug GH-21754 (`--rf` command line option with a method triggers ext/reflection deprecation warnings). (DanielEScherzer)
Curl
Add support for brotli and zstd on Windows. (Shivam Mathur)
DOM
Fixed GHSA-4jhr-8w89-j733 and GH-21566 (Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()). (CVE-2026-7263 ) (David Carlier) Fixed bug GH-21688 (segmentation fault on empty HTMLDocument). (David Carlier) Upgrade to lexbor v2.7.0. (CVE-2026-29078 , CVE-2026-29079 ) (ndossche, ilutov) Fixed bug GH-21544 (Dom\XMLDocument::C14N*( drops namespace declarations on DOM-built documents). (David Carlier, ndossche)
Iconv
Fixed bug GH-17399 (iconv memory leak on bailout). (iliaal)
Opcache
Fixed bug GH-21158 (JIT: Assertion jit->ra[var].flags & (1<<0) failed in zend_jit_use_reg). (Arnaud) Fixed bug GH-21593 (Borked function JIT JMPNZ smart branch). (ilutov) Fixed bug GH-21460 (COND optimization regression). (Dmitry, Arnaud) Fixed faulty returns out of zend_try block in zend_jit_trace(). (ilutov) Fixed bug GH-21770 (Infinite recursion in property hook getter in opcache preloaded trait). (iliaal)
OpenSSL
Fix a bunch of memory leaks and crashes on edge cases. (ndossche)
Phar
Restore is_link handler in phar_intercept_functions_shutdown. (iliaal) Fixed bug GH-21797 (phar: NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent from SAPI environment). (iliaal) Fix memory leak in Phar::offsetGet(). (iliaal) Fix memory leak in phar_add_file(). (iliaal) Fixed bug GH-21799 (phar: propagate phar_stream_flush return value from phar_stream_close). (iliaal) Fix memory leak in phar_verify_signature() when md_ctx is invalid. (JarneClauw)
Random
Fixed bug GH-21731 (Random\Engine\Xoshiro256StarStar::__unserialize() accepts all-zero state). (iliaal)
Session
Fixed memory leak when session GC callback return a refcounted value. (jorgsowa)
SPL
Fixed bug GH-21499 (RecursiveArrayIterator getChildren UAF after parent free). (Girgias) Fix concurrent iteration and deletion issues in SplObjectStorage. (ndossche)
Streams
Fixed bug GH-21468 (Segfault in file_get_contents w/ a https URL and a proxy set). (CVE-2026-12184 ) (ndossche)
XSL
Fixed bug GH-21600 (Segfault on module shutdown). (David Carlier)
Zip
Fixed bug GH-21698 (memory leak with ZipArchive::addGlob() early return statements). (David Carlier)
← আগের রিলিজ: PHP 8.4.20 পরের রিলিজ: PHP 8.4.22 →
এই তালিকাটি সেই NEWS ফাইল থেকে নেওয়া, যা PHP ডেভেলপাররা PHP-এর সোর্স কোডের সঙ্গে রাখেন, আর একই তালিকা php.net -এও প্রকাশিত হয়।
সম্পর্কিত নিবন্ধ
আপনার সার্ভারের পিএইচপি সংস্করণ আপগ্রেড করতে হবে কিনা এবং কীভাবে তা করতে হবে তা নির্ধারণ করতে আপনাকে সাহায্য করার জন্য দরকারী নিবন্ধগুলি৷
আরও পড়ুন →
আপনি যদি আমাদের টুল ব্যবহার করতে না চান বা ইতিমধ্যেই চেষ্টা করে থাকেন তাহলে তিনটি সাধারণ পরীক্ষার একটি তালিকা যা আপনি আপনার পিএইচপি সংস্করণ নির্ধারণ করতে পারেন।আমরা সহজ থেকে শুরু করে জটিলতার ক্রম অনুসারে তাদের তালিকাভুক্ত করেছি।
আরও পড়ুন →
← ফিরে যান: গাইড সূচি
নিবন্ধ শেষবার আপডেট হয়েছে: 21st October, 2026