{"id":4938,"date":"2020-01-13T16:14:25","date_gmt":"2020-01-13T16:14:25","guid":{"rendered":"https:\/\/www.fastcomet.com\/blog\/?p=4938"},"modified":"2025-12-17T18:43:03","modified_gmt":"2025-12-17T18:43:03","slug":"php-7-4-available","status":"publish","type":"post","link":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available","title":{"rendered":"PHP 7.4 is Now Available at FastComet"},"content":{"rendered":"\n<p class=\"has-drop-cap\">PHP 7.4, the last minor release before 8.0, was released for General Availability on November 28th, 2019 and as of today, it is fully available for all FastComet customers. Performance is key, and as always, PHP 7.4 does not disappoint. This post covers some of <strong>the essentials around PHP 7.4<\/strong> and how FastComet customers can benefit from the overall upgrade.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Table of Contents:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list nav-list\">\n<li><a href=\"#version-php-7-4-for-all-fastcomet-users\">Version PHP 7.4 for all FastComet Users<\/a><\/li>\n\n\n\n<li><a href=\"#php-7-4-new-features-updates-and-deprecations\">PHP 7.4 New Features, Updates, and Deprecations<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#new-features\">New Features<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#arrow-functions\">Arrow Functions<\/a><\/li>\n\n\n\n<li><a href=\"#typed-properties\">Typed properties<\/a><\/li>\n\n\n\n<li><a href=\"#null-coalesce-shorter-syntax\">Null Coalesce Shorter Syntax<\/a><\/li>\n\n\n\n<li><a href=\"#weak-references\">Weak References<\/a><\/li>\n\n\n\n<li><a href=\"#preloading-in-php-7-4\">Preloading in PHP 7.4<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#updates-and-deprecations\">Updates and Deprecations<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#php-7-4-overall-performance-benchmarks\">PHP 7.4 Overall Performance Benchmarks<\/a><\/li>\n\n\n\n<li><a href=\"#does-your-application-support-it\">Does your Application Support it?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#wordpress-php-7-4-usage-stats\">WordPress PHP 7.4 Usage Stats<\/a><\/li>\n\n\n\n<li><a href=\"#preloading-with-laravel\">Preloading with Laravel<\/a><\/li>\n\n\n\n<li><a href=\"#opcache-preloading-with-symfony\">Opcache Preloading with Symfony<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#how-to-upgrade-to-php-7-4\">How to Upgrade to PHP 7.4<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"version-php-7-4-for-all-fastcomet-users\">Version PHP 7.4 for all FastComet Users<\/h2>\n\n\n\n<p>PHP 7.4&nbsp; is available on all FastComet shared servers. Of course, make sure you <strong>check your website thoroughly<\/strong> after switching to the latest PHP version since some plugins may not be ready for it yet.<\/p>\n\n\n\n<p>The boost in performance and code readability in PHP is significant with version 7.4. However, PHP 8 will be the actual milestone when it comes to performance because the proposal to include Just-in-time (<strong>JIT<\/strong>) has already been approved.<\/p>\n\n\n\n<p><strong>JIT<\/strong> is a compiling strategy. A program is being compiled on the fly into a form that\u2019s usually faster, typically the host CPU\u2019s native instruction set. To do this, the JIT compiler uses its access to dynamic runtime information. A standard compiler does not have the ability to perform this task.<\/p>\n\n\n\n<div class=\"alert alert-info mb-5\"><p>The default PHP version on our servers is always selected with safety in mind. The current default version for all FastComet servers is <a href=\"https:\/\/www.fastcomet.com\/blog\/php-7-2-is-now-the-new-default-on-fastcomet\" target=\"_blank\" rel=\"noreferrer noopener\">PHP 7.2<\/a>.<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"php-7-4-new-features-updates-and-deprecations\">PHP 7.4 New Features, Updates, and Deprecations<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"new-features\">New Features<\/h3>\n\n\n\n<p>There are lots of additions that come with version 7.4 of PHP.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"arrow-functions\">Arrow Functions<\/h4>\n\n\n\n<p>Also known as <strong>Short Closures<\/strong>, Arrow Functions allow the usage of less verbose one-liner functions. For example, if you would previously write the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">array_map(function (User $user) { <br>&nbsp; &nbsp; return $user-&gt;id; <br>}, $users)<\/pre>\n\n\n\n<p>Now you can write this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">array_map(fn (User $user) =&gt; $user-&gt;id, $users)<\/pre>\n\n\n\n<p>Some notes about those Arrow Functions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>They can always access the parent scope (no need for the \u2018use\u2019 keyword);<\/li>\n\n\n\n<li>\u2018$this\u2019 is available exactly like normal closures;<\/li>\n\n\n\n<li>Arrow functions are allowed only one line. This line is also the return statement;<\/li>\n<\/ul>\n\n\n\n<p>Read about <a href=\"https:\/\/wiki.php.net\/rfc\/arrow_functions_v2\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"arrow functions (opens in a new tab)\">arrow functions<\/a> in-depth here.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"typed-properties\">Typed properties<\/h4>\n\n\n\n<p>Don\u2019t we all love the new strong typing features that came with PHP 7? Each following release provided additional options and <strong>made strong typing PHP code both stronger AND easier<\/strong>. In the meantime, core developers have made all features optional, being aware that some users don\u2019t want to use strong typing.<\/p>\n\n\n\n<p>PHP 7.4 continues the same tradition and extends strong typing to class properties. With the new release, type hinting is no longer limited to method properties and return types. Additionally, developers can hint at all properties in their class.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"null-coalesce-shorter-syntax\">Null Coalesce Shorter Syntax<\/h4>\n\n\n\n<p>One of the many additions that people loved in PHP 7 was the null coalesce operator. It\u2019s used frequently in code bodies to ensure that variables have the same default. With PHP 7.4, developers are able to use a syntax that is even shorter than before. Now you can use \u201c??=\u201d when you want to assign a default value to a specific variable if it\u2019s null, but leave it without changes when it has value.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"weak-references\">Weak References<\/h4>\n\n\n\n<p>PHP 7.4 introduces the WeakReference class. In short, it offers programmers the opportunity to retain references to objects that do not prevent the objects from being destroyed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"preloading-in-php-7-4\">Preloading in PHP 7.4<\/h4>\n\n\n\n<p>With PHP 7.4, support for preloading was added, a feature that has the potential to improve the performance of your code significantly.<\/p>\n\n\n\n<p>This is how it works:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To preload files, you have to write a custom PHP script;<\/li>\n\n\n\n<li>This script is being executed once on server startup;<\/li>\n\n\n\n<li>Preloaded files are available in memory for each request;<\/li>\n\n\n\n<li>Changes made to any preloaded files will not have an effect until the server gets restarted.<\/li>\n<\/ul>\n\n\n\n<p>Preloading is built on top of opcache, but it\u2019s not actually the same. Opcache takes your PHP source files, compiles them to \u201copcodes\u201d, and then stores those files on disk.<\/p>\n\n\n\n<p>Opcodes are a low-level representation of your code, which can be interpreted at runtime with ease. Opcache skips the step of translation between source files and what the PHP interpreter needs at runtime.<\/p>\n\n\n\n<p>There is even more to be gained. Opcached files don&#8217;t know about other files. When you have a class A that is extending from class B, you would still need them linked together at runtime.&nbsp; Additionally, opcache checks to see if the source files have been modified, and then invalidate its caches based on that.<\/p>\n\n\n\n<p>Preloading now only compiles source files to opcodes, while also linking related classes, traits, and interfaces together. Afterward, it will keep the compiled runnable code (usable by the PHP interpreter) in memory.<\/p>\n\n\n\n<p>With PHP7.4 whenever a request arrives at the server, it can use parts of the codebase which were already loaded in memory. That\u2019s performed without any overhead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"updates-and-deprecations\">Updates and Deprecations<\/h3>\n\n\n\n<p>As usual, besides new features, there are also a lot of changes that come with version 7.4 of the programming language. Most of the new changes are non-breaking, but some of them could affect your codebases. Keep note that deprecation warnings should not always be defined as \u201cbreaking\u201d, but actually as notices to developers that <strong>certain functionalities are going to be changed or removed in the future<\/strong>. We recommend everyone not to ignore deprecation warnings and instead fix them right on the spot. Such action would make the upgrade to PHP 8.0 much easier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"php-7-4-overall-performance-benchmarks\">PHP 7.4 Overall Performance Benchmarks<\/h2>\n\n\n\n<p>With all PHP 7 releases, new features continue to be tacked on and the performance of the programming language continues to evolve.<\/p>\n\n\n\n<p>According to last year\u2019s <a href=\"https:\/\/www.phoronix.com\/scan.php?page=article&amp;item=php-74-benchmarks&amp;num=1\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Phoronix benchmarks (opens in a new tab)\">Phoronix benchmarks<\/a>, PHP 7.4 continues to improve in terms of performance.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php-benchmarks-phoronix.png\" alt=\"Phoronix PHP Performance Benchmark\" class=\"wp-image-4949\" srcset=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php-benchmarks-phoronix.png 1024w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php-benchmarks-phoronix-300x162.png 300w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php-benchmarks-phoronix-768x415.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Source: Phoronix.com<\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Those improvements might not be as great as the jump from 5.6 to 7.0, but they are still present.<\/p>\n\n\n\n<p>According to the benchmark stats, PHP 7 shows improved memory usage, as well as some other enhancements. As expected, PHP 7.4 is looking to be the fastest stable release yet,&nbsp; including the additions of FFI and preload functionality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"does-your-application-support-it\">Does your Application Support it?<\/h2>\n\n\n\n<p>The great news is that most web applications, including WordPress, fully work on PHP 7.4 yet:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WordPress 5.3;<\/li>\n\n\n\n<li>Joomla! 3.9.13;<\/li>\n\n\n\n<li>Laravel 6.7.0;<\/li>\n\n\n\n<li>Symfony 4.4.2 &#8211; 5.0.1;<\/li>\n\n\n\n<li>Grav CMS 1.6.19;<\/li>\n\n\n\n<li>October CMS 1.0.458;<\/li>\n\n\n\n<li>CodeIgniter 3.1.11 &#8211; 4.0-rc.3;<\/li>\n\n\n\n<li>CakePHP 3.8.7 &#8211; 4.0.0;<\/li>\n\n\n\n<li>PyroCMS 3.7;<\/li>\n\n\n\n<li>Pagekit 1.0.17;<\/li>\n\n\n\n<li>Bolt CMS 3.7.0;<\/li>\n\n\n\n<li>Craft CMS 3.4.0-beta.4;<\/li>\n\n\n\n<li>ExpressionEngine 5.3.0.<\/li>\n<\/ul>\n\n\n\n<p>Sadly, some applications, such as Magento 2, no longer support PHP 5.6 but are not yet compatible with PHP 7.4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"wordpress-php-7-4-usage-stats\">WordPress PHP 7.4 Usage Stats<\/h3>\n\n\n\n<p>As everyone probably knows, PHP is the most used server-side programming language. According to <a href=\"https:\/\/w3techs.com\/technologies\/details\/pl-php\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">W3Techs<\/a>, as of May 28th, 2019, the usage of PHP continues to grow. With its release, <a href=\"https:\/\/www.fastcomet.com\/blog\/wordpress-5-3-new-features\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">WordPress 5.3<\/a> already had better compatibility with PHP 7.4.<\/p>\n\n\n\n<p>Unfortunately, PHP 5 is still used by 53.6% of all sites with a known server-side programming language. If you add the number of users with PHP 7.0, results show that the large majority of websites run on unsupported versions of PHP.<\/p>\n\n\n\n<p>According to WordPress\u2019 official stats page, at the time of writing this post, an astounding 67% of the WordPress websites on the Internet run unsupported PHP versions. Websites that run on <a href=\"https:\/\/www.fastcomet.com\/blog\/php-7-3-available\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">PHP 7.3<\/a> are only a little over 3%, with the majority running on PHP 5.6.<\/p>\n\n\n\n<p>We recommend that you ask your host for a supported PHP version, where the best choice would be a release that is WordPress approved. As of the time this article is posted, the WordPress requirements are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP version 7.3 or greater;<\/li>\n\n\n\n<li>MariaDB version 10.1 or greater;<\/li>\n\n\n\n<li>HTTPS support.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"preloading-with-laravel\">Preloading with Laravel<\/h3>\n\n\n\n<p>If you want to preload <a href=\"https:\/\/www.fastcomet.com\/blog\/laravel-6-0-is-here\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Laravel<\/a>, your script will need to loop over all PHP files in the <code>laravel<\/code> directory, and then include those files one by one.<\/p>\n\n\n\n<p>During preloading, PHP resolves class dependencies and links with parent, interfaces, and traits. It removes unnecessary includes and performs some additional optimizations. opcache_reset() is not going to reload preloaded files.<\/p>\n\n\n\n<p>Here&#8217;s how you&#8217;d link to this script in php.ini:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">opcache.preload=\/path\/to\/project\/preload.php<\/pre>\n\n\n\n<p>And here&#8217;s a dummy implementation:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$files = \/* An array of files you want to preload *\/;<br>foreach ($files as $file) {<br>&nbsp;&nbsp;&nbsp;&nbsp;opcache_compile_file($file);<br>}<\/pre>\n\n\n\n<div class=\"alert alert-info mb-5\"><p>You can&#8217;t preload an unlinked class. For files to be preloaded, their dependencies (interfaces, traits, and parent classes) have to be preloaded as well. If any problems occur with the class dependencies, you will get notified of it on server startup:<\/p><\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">Can't preload unlinked class\nIlluminate\\Database\\Query\\JoinClause:\nUnknown parent\nIlluminate\\Database\\Query\\Builder<\/pre>\n\n\n\n<p>Luckily, there is a method to ensure that linked files are loaded. Instead of using \u2018opcache_compile_file\u2019, you can use \u2018require_once\u2019, and let the registered autoloader take care of the rest.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$files = \/* All files in eg. vendor\/laravel *\/;<br>foreach ($files as $file) {<br>&nbsp;&nbsp;&nbsp;require_once($file);<br>}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"opcache-preloading-with-symfony\">Opcache Preloading with Symfony<\/h3>\n\n\n\n<p>Symfony 4.4 can generate a preloading file for your application in the cache directory. This generated file name includes both the environment and the kernel names (e.g. var\/cache\/dev\/App_KernelDevDebugContainer.preload.php).<\/p>\n\n\n\n<p>You can use the generated file as the value of the opcache.preload PHP directive:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">;php.ini\nopcache.preload=\/path\/to\/project\/var\/cache\/prod\/App_KernelProdContainer\n.preload.php<\/pre>\n\n\n\n<p>The next step is allowing applications and bundles to declare which of their classes should be preloaded too.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-upgrade-to-php-7-4\">How to Upgrade to PHP 7.4<\/h2>\n\n\n\n<p>With FastComet\u2019s shared hosting servers, you have the convenient option to select your PHP version quickly and easily. All you have to do is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to your to <strong>Client Area (my.fastcomet.com)<\/strong> \u2192 <strong>cPanel<\/strong> \u2192 <strong>Select PHP Version<\/strong>:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/find-php-selector-in-cpanel.jpg\" alt=\"Find PHP Selector in cPanel\" class=\"wp-image-4944\" srcset=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/find-php-selector-in-cpanel.jpg 1024w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/find-php-selector-in-cpanel-300x139.jpg 300w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/find-php-selector-in-cpanel-768x357.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the <strong>PHP Selector<\/strong>, click on <strong>Switch to PHP Options<\/strong>:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"254\" src=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/switch-to-php-options.jpg\" alt=\"Switch to PHP Options in cPanel\" class=\"wp-image-4946\" srcset=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/switch-to-php-options.jpg 1024w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/switch-to-php-options-300x74.jpg 300w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/switch-to-php-options-768x191.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once in the <strong>PHP Options<\/strong>, select your desired PHP version and click on <strong>Set as Current<\/strong>:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1479\" height=\"654\" src=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/choose-php-7-4-from-the-drop-down.jpg\" alt=\"Choose PHP 7.4 from the Drop-down\" class=\"wp-image-4947\" srcset=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/choose-php-7-4-from-the-drop-down.jpg 1479w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/choose-php-7-4-from-the-drop-down-300x133.jpg 300w, https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/choose-php-7-4-from-the-drop-down-768x340.jpg 768w\" sizes=\"auto, (max-width: 1479px) 100vw, 1479px\" \/><\/figure>\n\n\n\n<p>That\u2019s all there is to the process of upgrading to PHP 7.4.<\/p>\n\n\n\n<div class=\"alert alert-info mb-5\"><p>When you are switching between different PHP versions, don\u2019t forget to check your project compatibility before you begin with the transition.<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This brings us to our conclusion. We only covered some of the new features, updates, and deprecations of PHP 7.4.  Visit the official source if you want to see a <a rel=\"noreferrer noopener\" aria-label=\"full list of all changes (opens in a new tab)\" href=\"https:\/\/www.php.net\/manual\/en\/migration74.php\" target=\"_blank\">full list of all changes<\/a>.<\/p>\n\n\n\n<p>The new PHP version looks much more powerful compared to its predecessors. Additionally, it will ease multiple development tasks for developers, because the newly updated functions are built, especially for modern web apps.<\/p>\n\n\n\n<p>Are you willing to give it a try yet? Be sure to share your thoughts on your favorite new addition. Happy Coding, Everyone!<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP 7.4, the last minor release before 8.0, was released for General Availability on November 28th, 2019 and as of today, it is fully available for all FastComet customers. Performance is key, and as always, PHP 7.4 does not disappoint. This post covers some of the essentials around PHP 7.4 and how FastComet customers can [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":4936,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4726],"tags":[103,151],"class_list":["post-4938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-service-updates","tag-php","tag-php-7"],"featured_image_src":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png","author_info":{"display_name":"Joseph","author_link":"https:\/\/www.fastcomet.com\/blog\/author\/joseph"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP 7.4 is Now Available at FastComet | FastComet<\/title>\n<meta name=\"description\" content=\"PHP 7.4 is available to all FastComet customers. Take a look \u261b new features, deprecations, performance improvements, and boost your website speed now.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fastcomet.com\/blog\/php-7-4-available\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP 7.4 is Now Available at FastComet | FastComet\" \/>\n<meta property=\"og:description\" content=\"PHP 7.4 is available to all FastComet customers. Take a look \u261b new features, deprecations, performance improvements, and boost your website speed now.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fastcomet.com\/blog\/php-7-4-available\" \/>\n<meta property=\"og:site_name\" content=\"FastComet Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-13T16:14:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-17T18:43:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"620\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joseph\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joseph\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP 7.4 is Now Available at FastComet | FastComet","description":"PHP 7.4 is available to all FastComet customers. Take a look \u261b new features, deprecations, performance improvements, and boost your website speed now.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available","og_locale":"en_US","og_type":"article","og_title":"PHP 7.4 is Now Available at FastComet | FastComet","og_description":"PHP 7.4 is available to all FastComet customers. Take a look \u261b new features, deprecations, performance improvements, and boost your website speed now.","og_url":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available","og_site_name":"FastComet Blog","article_published_time":"2020-01-13T16:14:25+00:00","article_modified_time":"2025-12-17T18:43:03+00:00","og_image":[{"width":1024,"height":620,"url":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png","type":"image\/png"}],"author":"Joseph","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Joseph","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available","url":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available","name":"PHP 7.4 is Now Available at FastComet | FastComet","isPartOf":{"@id":"https:\/\/www.fastcomet.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available#primaryimage"},"image":{"@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available#primaryimage"},"thumbnailUrl":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png","datePublished":"2020-01-13T16:14:25+00:00","dateModified":"2025-12-17T18:43:03+00:00","author":{"@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/4f2c9600f49c872b8d56996ee3b95035"},"description":"PHP 7.4 is available to all FastComet customers. Take a look \u261b new features, deprecations, performance improvements, and boost your website speed now.","breadcrumb":{"@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fastcomet.com\/blog\/php-7-4-available"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available#primaryimage","url":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png","contentUrl":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2020\/01\/php7.4.png","width":1024,"height":620,"caption":"PHP 7.4 is Now Available at FastComet"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fastcomet.com\/blog\/php-7-4-available#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fastcomet.com\/blog"},{"@type":"ListItem","position":2,"name":"PHP 7.4 is Now Available at FastComet"}]},{"@type":"WebSite","@id":"https:\/\/www.fastcomet.com\/blog\/#website","url":"https:\/\/www.fastcomet.com\/blog\/","name":"FastComet Blog","description":"FastComet Web Hosting Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fastcomet.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/4f2c9600f49c872b8d56996ee3b95035","name":"Joseph","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1aa84dc2a6398ed73c957bd1de58806d12d44e2956744ed1ae9b435d57822ab7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1aa84dc2a6398ed73c957bd1de58806d12d44e2956744ed1ae9b435d57822ab7?s=96&d=mm&r=g","caption":"Joseph"},"description":"Joseph is part of the FastComet Marketing team. With years of content writing experience behind him, it's one of his favorite activities. Joseph takes part in the SEO of the FastComet website and blog. His goal is to write comprehensive posts and guides, always aiming to help our clients with essential information. Joseph also has a thirst for knowledge and improvement, which makes the hosting environment a perfect place for him.","sameAs":["https:\/\/www.fastcomet.com\/"],"url":"https:\/\/www.fastcomet.com\/blog\/author\/joseph"}]}},"_links":{"self":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/4938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/comments?post=4938"}],"version-history":[{"count":14,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/4938\/revisions"}],"predecessor-version":[{"id":10984,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/4938\/revisions\/10984"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/media\/4936"}],"wp:attachment":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/media?parent=4938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/categories?post=4938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/tags?post=4938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}