{"id":64309,"date":"2021-01-07T09:00:00","date_gmt":"2021-01-07T14:00:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/blog\/?p=64309"},"modified":"2024-03-05T12:49:52","modified_gmt":"2024-03-05T17:49:52","slug":"php-8-whats-new","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/","title":{"rendered":"PHP 8: What&#8217;s New"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-1024x538.jpg\" alt=\"\" class=\"wp-image-64316 skip_lazy\" srcset=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-560x294.jpg 560w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8.jpg 1198w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.php.net\/releases\/8.0\/en.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>PHP 8.0<\/strong><\/a> is here, just one year after PHP 7.4 was released in November 2019. Some of the most popular <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-a-cms\/\">content management systems (CMSs)<\/a> including <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-wordpress\/\">WordPress<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/blog\/moodle-lms-remote-education\/\">Moodle<\/a> depend on the scripting language as part of the <strong>LAMP Stack<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-linux\/\"><strong>Linux<\/strong><\/a> operating system (OS) (e.g. CentOS, Debian, and Ubuntu)<\/li>\n\n\n\n<li><strong>Apache<\/strong> web server software<\/li>\n\n\n\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/mysql-versus-mariadb\/\"><strong>MySQL<\/strong><\/a>\/MariaDB database management system<\/li>\n<\/ul>\n\n\n\n<p>There\u2019s a lot you can do <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-can-you-do-with-linux-vps-hosting\/\">with Linux server hosting<\/a>. However, you\u2019re not applying most of those use cases on a dedicated or <a href=\"\/vps-hosting\">VPS server<\/a> in the most secure manner without the latest PHP version.<\/p>\n\n\n\n<p>Before we cover the new hotness, keep in mind that PHP 7.4 will be actively supported until <a href=\"https:\/\/www.php.net\/supported-versions.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">December 2021<\/a>. However, you should upgrade PHP on your server OS as soon as possible for the best performance possible. The major challenge for system administrators (<a href=\"https:\/\/www.inmotionhosting.com\/blog\/managed-vps-hosting-sysadmins-perspective\/\">sysadmins<\/a>) is ensuring every component of your cloud infrastructure is fully compatible and <em>stable<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"275\" src=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021-1024x275.png\" alt=\"PHP 8.0 and 7.4 Support\" class=\"wp-image-64311\" srcset=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021-1024x275.png 1024w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021-300x81.png 300w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021-768x207.png 768w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021-560x151.png 560w, https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/php-supported-versions-jan-2021.png 1294w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">PHP 7.4 active support ends in December 2021<\/figcaption><\/figure>\n\n\n\n<p>Below we\u2019ll cover:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#new\" class=\"rank-math-link\">New Features in PHP 8<\/a><\/li>\n\n\n\n<li><a href=\"#when\" class=\"rank-math-link\">When You Should Start Using PHP 8<\/a><\/li>\n\n\n\n<li><a href=\"#popular\" class=\"rank-math-link\">Popular Web Applications Supporting PHP 8<\/a><\/li>\n\n\n\n<li><a href=\"#incompatible\" class=\"rank-math-link\">Applications Incompatible with PHP 8<\/a><\/li>\n\n\n\n<li><a href=\"#install\" class=\"rank-math-link\">How to Install PHP 8<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#cpanel\" class=\"rank-math-link\">cPanel Managed Servers<\/a><\/li>\n\n\n\n<li><a href=\"#unmanaged\" class=\"rank-math-link\">Unmanaged Linux Servers<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#other\" class=\"rank-math-link\">Other News in Linux Web Hosting<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"new\">New Features in PHP 8<\/h2>\n\n\n\n<p>Here are a few notable additions to the PHP language.<\/p>\n\n\n\n<p><strong>Just In Time (JIT)<\/strong> compilation caches part of your code in runtime to improve performance. In time, developers may be able to implement this for improved website speed to negate the need for third party <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-a-content-delivery-network\/\">content delivery network (CDN)<\/a> services.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.php.net\/manual\/en\/language.types.type-juggling.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Type juggling<\/strong><\/a> will be more strict for better <a href=\"https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Input_Validation_Cheat_Sheet.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">data input validation<\/a>, mitigating some common code injection attacks.<\/p>\n\n\n\n<p><a href=\"https:\/\/wiki.php.net\/rfc\/named_params\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Named arguments<\/strong><\/a> and <a href=\"https:\/\/wiki.php.net\/rfc\/union_types_v2\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Union types<\/strong><\/a> optimize calls for cleaner code and better readability during <a href=\"https:\/\/www.inmotionhosting.com\/support\/security\/clamav-or-imunifyav\/\">security scans<\/a>.<\/p>\n\n\n\n<p>Removal of functions that were deprecated in PHP 7.X including <code>create_function()<\/code> and <code>$php_errormsg<\/code>.<\/p>\n\n\n\n<p>Get more in-depth info about new functions at <a href=\"https:\/\/www.php.net\/releases\/8.0\/en.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">PHP.net<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"when\">When You Should Start Using PHP 8<\/h2>\n\n\n\n<p>Because of the major changes coming in this new PHP version, every web application and third-party plugin\/module\/extension developer will address the matter differently with various timelines.&nbsp;<\/p>\n\n\n\n<p>For business owners, the simple answer is <em>as soon as everything in your server environment can use it in a stable manner<\/em>. The complexity lies in the applications and third-party integrations you rely on to run your business. In many cases, the best option may be:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check changelogs and contact developers for all essential applications in use<\/li>\n\n\n\n<li>Create a <a href=\"https:\/\/www.inmotionhosting.com\/blog\/backup-your-website\/\">backup<\/a> for archival purposes and a <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-high-availability\/#snap\">snapshot<\/a> for quick restorations<\/li>\n\n\n\n<li>Create a staging environment, or schedule a maintenance window on the production system, to test everything with PHP 8<\/li>\n\n\n\n<li>Note issues and make adjustments from there<\/li>\n<\/ol>\n\n\n\n<p>For developers, the answer is tied to how your application dependencies are working toward the new standard. The major CMSs undoubtedly want stable support sooner than later. But the <em>\u201chow\u201d<\/em> is where it gets tricky. It may be harder for devs to build plugins in CMSs maintained by smaller teams. <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/getting-started-with-kanboard-kanban\/\">Kanboard<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/log-into-octobercms\/\">OctoberCMS<\/a>, and <a href=\"https:\/\/www.inmotionhosting.com\/support\/opencart-3\/\">OpenCart<\/a> come to mind. Those communities may require lengthy <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/website-design\/embed-a-chatroom-with-kiwi-irc\/\">internet relay chat (IRC)<\/a> or <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/why-of-why-not-use-github\/\">GitHub<\/a> conversations to figure things out. Yoast goes deep into the topic of anticipated coding issues with their <a href=\"https:\/\/developer.yoast.com\/blog\/the-2020-wordpress-and-php-8-compatibility-report\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">compatibility report<\/a>. I&#8217;d bet <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/install-grav-cms-admin\/\">GRAV<\/a> website owners are relieved to know this doesn\u2019t affect them.<\/p>\n\n\n\n<p>Again, PHP 7.4 is actively supported until December 2021. That <em>may<\/em> suffice if all personnel involved start now.<\/p>\n\n\n<div class=\"jumbotron\">Enjoy high-performance, lightning-fast servers with increased security and maximum up-time with our <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">Managed VPS Hosting<\/a>!<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"popular\">Popular Web Applications Supporting PHP 8<\/h2>\n\n\n\n<p>Here\u2019s the latest on PHP 8 support from the most popular CMSs.<\/p>\n\n\n\n<p><strong>WordPress<\/strong> supports PHP 8 as of <a href=\"https:\/\/make.wordpress.org\/core\/2020\/11\/23\/wordpress-and-php-8-0\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">version 5.6<\/a> but it\u2019s not completely stable. Furthermore, don\u2019t expect all third party themes and plugins to be updated for full compatibility so soon. WordPress core issues may already be <a href=\"https:\/\/core.trac.wordpress.org\/query?keywords=~php8&amp;group=milestone&amp;col=id&amp;col=summary&amp;col=owner&amp;col=type&amp;col=status&amp;col=priority&amp;col=milestone&amp;order=priority\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">in the queue for resolution<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/\"><strong>Drupal<\/strong><\/a> supports PHP 8 as of <a href=\"https:\/\/www.drupal.org\/docs\/system-requirements\/php-requirements\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">version 9.1<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/joomla-351-released\/\"><strong>Joomla<\/strong><\/a> added some core updates for compatibility in <a aria-label=\" (opens in a new tab)\" class=\"rank-math-link\" href=\"https:\/\/www.joomla.org\/announcements\/release-news\/5828-joomla-3-9-23.html\" target=\"_blank\" rel=\"noreferrer noopener\">version 3.9.23<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/magento\/\"><strong>Magento<\/strong><\/a> is currently prioritizing support with the <a href=\"https:\/\/community.magento.com\/t5\/Magento-DevBlog\/Magento-PHP-8-Compatibility-Community-Project\/ba-p\/464983\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Magento PHP 8 Compatibility Community Project<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"incompatible\">Applications Incompatible with PHP 8<\/h2>\n\n\n\n<p>There are some popular applications and PHP extensions currently unavailable for PHP 8 including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-dso-with-mod-ruid2-using-easyapache-4\/\"><strong>Dynamic Shared Object (DSO)<\/strong><\/a> handler in <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-cpanel\/\">cPanel<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-whm-on-vps\/\">WebHost Manager (WHM)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/what-is-ioncube\/\"><strong>ionCube 10<\/strong><\/a> for PHP code protection and obfuscation<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/jbboehr\/php-psr\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>PHP-PSR<\/strong><\/a> for the <a href=\"https:\/\/www.php-fig.org\/psr\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">PHP Standard Recommendation (PSR)<\/a> specification<\/li>\n\n\n\n<li><a href=\"https:\/\/snuffleupagus.readthedocs.io\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Snuffleupagus<\/strong><\/a>, named after the Sesame Street character of the same name, for PHP code patching<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">How to Install PHP 8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cpanel\">cPanel Managed Servers<\/h3>\n\n\n\n<p><strong>cPanel<\/strong> server administrators on CentOS 7 or later can install the latest version of PHP with <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/vps-hosting\/how-to-install-php-versions-in-easyapache-4\/\"><strong>EasyApache 4<\/strong><\/a> in WHM. Then, cPanel users can select and modify the PHP version for individual websites with <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-change-the-php-version-your-account-uses\/\"><strong>MultiPHP Manager<\/strong><\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/cpanel-multiphp-ini-editor\/\"><strong>MultiPHP INI Editor<\/strong><\/a> respectively.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"unmanaged\">Unmanaged Linux Servers<\/h3>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/blog\/cloud-server-managed-hosting\/\">Linux cloud server<\/a> admins can <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/install-php-8-0\/\">install the latest PHP version<\/a> for your web server from OS-specific repositories. Those using <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/nginx\/advanced-nginx-vps-and-dedicated\/\">NGINX<\/a> may also want to install <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/php-fpm\/php-fpm-the-future-of-php-handling\/\"><strong>PHP-FastCGI Process Manager (PHP-FPM)<\/strong><\/a> for an extra boost of speed.<\/p>\n\n\n\n<p class=\"alert alert-info\">Busy sysadmins using Ansible for IT automation can replace redundant tasks with our <a href=\"https:\/\/galaxy.ansible.com\/inmotionhosting\/php_fpm\" target=\"_blank\" rel=\"noreferrer noopener\">PHP-FPM Ansible role<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"other\">Other News in Linux Web Hosting<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/blog\/what-is-http-3\/\"><strong>HTTP\/3<\/strong><\/a>, five years after HTTP\/2 was first introduced, is becoming more commonplace in websites and web browsers for better performance and security throughout the world wide web.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/blog\/5-web-hosting-new-years-resolutions-for-2020\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Secure your server<\/a> with DNS Security Extensions (DNSSEC) and security HTTP headers to protect users from man-in-the-middle (MITM) attacks in 2021.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/blog\/ways-to-learn-more-about-cybersecurity\/\">Server security news<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/blog\/8-free-cybersecurity-tools-to-secure-your-server\/\">applications<\/a> help you stay better prepared for current cyber trends.<\/p>\n\n\n\n<p><a href=\"\/blog\/why-nvme-hosting\/\"><strong>Non-Volatile Memory Express (NVMe) drives<\/strong><\/a> can significantly improve personal (PC) and headless computer (server) performance.<\/p>\n\n\n\n<p>Job seekers can transition into an IT career with the help of our <a href=\"https:\/\/www.inmotionhosting.com\/employment\/available-positions\/technical-pipeline-program-2\">Technical Pipeline Program<\/a>.<\/p>\n\n\n\n<p>For any additional questions regarding PHP 8, <a href=\"https:\/\/www.inmotionhosting.com\/contact\">contact our web hosting experts<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP 8.0 is here, just one year after PHP 7.4 was released in November 2019. Some of the most popular content management systems (CMSs) including WordPress and Moodle depend on the scripting language as part of the LAMP Stack: There\u2019s a lot you can do with Linux server hosting. However, you\u2019re not applying most of<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/\"> Read More ><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[358],"tags":[],"class_list":["post-64309","post","type-post","status-publish","format-standard","hentry","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP 8: What&#039;s New | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn what\u2019s new in PHP 8, how to start using it on your Linux server, and what challenges to expect from the new version.\" \/>\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.inmotionhosting.com\/blog\/php-8-whats-new\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP 8: What&#039;s New | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn what\u2019s new in PHP 8, how to start using it on your Linux server, and what challenges to expect from the new version.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-07T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-05T17:49:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1198\" \/>\n\t<meta property=\"og:image:height\" content=\"629\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@inmotionhosting\" \/>\n<meta name=\"twitter:site\" content=\"@inmotionhosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP 8: What's New | InMotion Hosting","description":"Learn what\u2019s new in PHP 8, how to start using it on your Linux server, and what challenges to expect from the new version.","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.inmotionhosting.com\/blog\/php-8-whats-new\/","og_locale":"en_US","og_type":"article","og_title":"PHP 8: What's New | InMotion Hosting","og_description":"Learn what\u2019s new in PHP 8, how to start using it on your Linux server, and what challenges to expect from the new version.","og_url":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/","og_site_name":"InMotion Hosting Blog","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting","article_published_time":"2021-01-07T14:00:00+00:00","article_modified_time":"2024-03-05T17:49:52+00:00","og_image":[{"width":1198,"height":629,"url":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting","twitter_card":"summary_large_image","twitter_creator":"@inmotionhosting","twitter_site":"@inmotionhosting","twitter_misc":{"Written by":"InMotion Hosting","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/"},"author":{"name":"InMotion Hosting","@id":"https:\/\/www.inmotionhosting.com\/blog\/#\/schema\/person\/f21a89c83c7697a760c96cfe58e646bc"},"headline":"PHP 8: What&#8217;s New","datePublished":"2021-01-07T14:00:00+00:00","dateModified":"2024-03-05T17:49:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/"},"wordCount":907,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-1024x538.jpg","articleSection":["Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/","url":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/","name":"PHP 8: What's New | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8-1024x538.jpg","datePublished":"2021-01-07T14:00:00+00:00","dateModified":"2024-03-05T17:49:52+00:00","description":"Learn what\u2019s new in PHP 8, how to start using it on your Linux server, and what challenges to expect from the new version.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2021\/01\/canva-php-8.jpg","width":1198,"height":629},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/blog\/php-8-whats-new\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/www.inmotionhosting.com\/blog\/web-development\/"},{"@type":"ListItem","position":3,"name":"PHP 8: What&#8217;s New"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/blog\/#website","url":"https:\/\/www.inmotionhosting.com\/blog\/","name":"InMotion Hosting Blog","description":"Web Hosting Strategy, Trends and Security","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/blog\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2019\/11\/imh-logo-all-colors-big.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2019\/11\/imh-logo-all-colors-big.jpg","width":1630,"height":430,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting","https:\/\/x.com\/inmotionhosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/blog\/#\/schema\/person\/f21a89c83c7697a760c96cfe58e646bc","name":"InMotion Hosting","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eb965eada0c0513dd2e1976b21fe270fa4f19ac273960fc080f9d46b81b353a4?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eb965eada0c0513dd2e1976b21fe270fa4f19ac273960fc080f9d46b81b353a4?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eb965eada0c0513dd2e1976b21fe270fa4f19ac273960fc080f9d46b81b353a4?s=96&r=g","caption":"InMotion Hosting"},"url":"https:\/\/www.inmotionhosting.com\/blog\/author\/imhmainadmin\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":358,"name":"Web Development","slug":"web-development","link":"https:\/\/www.inmotionhosting.com\/blog\/web-development\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/posts\/64309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=64309"}],"version-history":[{"count":11,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/posts\/64309\/revisions"}],"predecessor-version":[{"id":73712,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/posts\/64309\/revisions\/73712"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=64309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=64309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=64309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}