{"id":384,"date":"2023-11-01T13:21:28","date_gmt":"2023-11-01T12:21:28","guid":{"rendered":"https:\/\/extendsclass.com\/blog\/?p=384"},"modified":"2023-10-31T21:02:22","modified_gmt":"2023-10-31T19:02:22","slug":"php-8-4-upcoming-features-and-release-date","status":"publish","type":"post","link":"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date","title":{"rendered":"PHP 8.4: Upcoming Features and Release Date"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_47_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"ez-toc-toggle-icon-1\"><label for=\"item-69d8d39a9aa4c\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input  type=\"checkbox\" id=\"item-69d8d39a9aa4c\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#What_is_the_projected_release_date_for_PHP_84\" title=\"What is the projected release date for PHP 8.4?\">What is the projected release date for PHP 8.4?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#What%E2%80%99s_new_in_PHP_84\" title=\"What\u2019s new in PHP 8.4?\">What\u2019s new in PHP 8.4?<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#A_new_JIT_implementation_based_on_IR_Framework\" title=\"A new JIT implementation based on IR Framework\">A new JIT implementation based on IR Framework<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#XML_OPTION_PARSE_HUGE\" title=\"XML_OPTION_PARSE_HUGE\">XML_OPTION_PARSE_HUGE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#Increasing_the_default_BCrypt_cost\" title=\"Increasing the default BCrypt cost\">Increasing the default BCrypt cost<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extendsclass.com\/blog\/php-8-4-upcoming-features-and-release-date\/#Recalling_PHP_A_Brief_Overview\" title=\"Recalling PHP: A Brief Overview\">Recalling PHP: A Brief Overview<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_projected_release_date_for_PHP_84\"><\/span>What is the projected release date for PHP 8.4?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Although the 8.3 version is coming out very soon, we don&#8217;t have a release date yet for version 8.4, but it&#8217;s expected to be towards the end of 2024.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What%E2%80%99s_new_in_PHP_84\"><\/span>What\u2019s new in PHP 8.4?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This version is not yet fixed, this article will be updated regularly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"A_new_JIT_implementation_based_on_IR_Framework\"><\/span>A new JIT implementation based on IR Framework<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The proposal introduces a new JIT via an independent IR Framework for PHP. It consolidates back-ends, enabling IR construction and machine-independent optimizations. Impacting core PHP developers, it remains self-contained, making minimal changes to the existing codebase and providing potential for collaboration with external experts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"XML_OPTION_PARSE_HUGE\"><\/span>XML_OPTION_PARSE_HUGE<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Introducing a new parser option, XML_OPTION_PARSE_HUGE, via xml_parser_set_option in PHP, specifically for libxml2 usage. Enabling this boolean option will handle parsing larger documents, preventing denial-of-service by default. Internally, this option passes XML_PARSE_HUGE to libxml2, alleviating parse errors with large documents. Note that this option doesn&#8217;t affect libexpat and parallels LIBXML_PARSEHUGE for SimpleXML and DOM extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>xml_parser_set_option($parser, XML_OPTION_PARSE_HUGE, true);<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Increasing_the_default_BCrypt_cost\"><\/span>Increasing the default BCrypt cost<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>PHP&#8217;s password_hash default BCrypt cost has remained unchanged for 11 years since its introduction in PHP 5.5. This variable cost factor in BCrypt aims to adapt to growing processing power and cracking speeds, prompting a review of the default value after this significant duration.<\/p>\n\n\n\n<p>The proposed update raises the default BCrypt cost from 10 to either 11 or 12, the final decision pending a secondary vote. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-text-align-center\">To learn more, visit: <a href=\"https:\/\/wiki.php.net\/rfc#php_84\">https:\/\/wiki.php.net\/rfc#php_84<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Recalling_PHP_A_Brief_Overview\"><\/span>Recalling PHP: A Brief Overview<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>PHP (Hypertext Preprocessor) is a highly popular and widely used programming language for server-side web development. Here is a brief overview of PHP:<\/p>\n\n\n\n<p><strong>What is PHP? <\/strong>Server-side language: PHP is primarily used to create dynamic and interactive web pages. It runs on the server-side, generating dynamic web content before sending it to the web browser.<\/p>\n\n\n\n<p><strong>Open source:<\/strong> PHP is an open-source language, meaning it is free and has a vast community of developers contributing to its evolution.<\/p>\n\n\n\n<p><strong>Features of PHP:<\/strong> Integration ease: It can be directly integrated into HTML code, making the creation of dynamic web pages relatively straightforward.<\/p>\n\n\n\n<p><strong>Compatibility with various databases:<\/strong> It is compatible with most databases such as MySQL, PostgreSQL, Oracle, etc.<\/p>\n\n\n\n<p><strong>Large community<\/strong> and documentation: PHP has a vast community of developers, forums, and abundant documentation, facilitating learning and issue resolution.<\/p>\n\n\n\n<p><strong>Enhanced Typing in PHP: Improving Development and Safety:<\/strong><br>PHP has significantly enhanced its typing system, providing more advanced features to ensure better data type management. Introducing features like strict type declarations, PHP strengthens its reliability by enabling developers to explicitly specify expected data types, thereby enhancing the quality and safety of PHP-developed applications. <br>PHP has undergone significant evolution in recent years. For those unfamiliar with newer versions, especially if you haven&#8217;t worked with PHP since older iterations like PHP 4 or 5, the extensive changes might come as a surprise, rendering the language almost unrecognizable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dive into PHP 8.4 for the Latest Advancements, Enhanced Features, and Improved Performance.<\/p>\n","protected":false},"author":1,"featured_media":386,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":""},"categories":[2],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/posts\/384"}],"collection":[{"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":5,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/posts\/384\/revisions\/387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/media\/386"}],"wp:attachment":[{"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extendsclass.com\/blog\/wp-json\/wp\/v2\/tags?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}