{"id":41789,"date":"2019-04-03T12:54:00","date_gmt":"2019-04-03T09:54:00","guid":{"rendered":"https:\/\/blog.superhosting.bg\/?p=41789"},"modified":"2022-04-02T11:13:46","modified_gmt":"2022-04-02T08:13:46","slug":"php-7-3-available-on-all-servers-superhosting","status":"publish","type":"post","link":"https:\/\/blog.superhosting.bg\/en\/php-7-3-available-on-all-servers-superhosting.html","title":{"rendered":"PHP 7.3 Comes With Enhanced Performance To Speed Up Your Web Projects Even More"},"content":{"rendered":"\n<p>The latest version of the most widely used web scripting language for building dynamic websites &#8211; <a rel=\"noreferrer noopener\" href=\"https:\/\/www.php.net\/releases\/7_3_0.php\" target=\"_blank\">PHP 7.3<\/a> is already supported by SuperHosting.BG.<\/p>\n\n\n\n<p>Versions <a rel=\"noreferrer noopener\" aria-label=\"7.1 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/blog.superhosting.bg\/en\/php-7-1-available-on-all-servers-superhosting.html\" target=\"_blank\">7.1<\/a> and <a rel=\"noreferrer noopener\" aria-label=\"7.2 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/blog.superhosting.bg\/en\/php-7-2-available-on-all-servers-superhosting.html\" target=\"_blank\">7.2<\/a> which were released after the major <a href=\"https:\/\/blog.superhosting.bg\/en\/php-7-superhosting.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"7.0 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\">7.0<\/a> offered many language improvements related to enhancing the performance and increasing the security of PHP applications.<\/p>\n\n\n\n<p>The new PHP 7.3 now comes with interesting improvements and new features. This version seems to be much faster and better performing than the previous 7.2 as benchmarks and comparisons show.<\/p>\n\n\n\n<p class=\"tipsupport04\">PHP 7.3 is supported on all hosting servers with <a href=\"https:\/\/en.superhosting.bg\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"SuperHosting.BG (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\">SuperHosting.BG<\/a>.<\/p>\n\n\n\n<h2 class=\"h4-gray01 wp-block-heading\">What\u2019s new in PHP 7.3?<\/h2>\n\n\n\n<p>Here are some of the most remarkable improvements and features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Enhanced Performance.<br>Performance benchmarks for PHP 7.3 show that this version is considerably faster than 7.2.<div class=\"text-note-small\"><span style=\"font-size: 26px; float: left; padding: 0 6px 0 0;\">\ud83d\udcca<\/span> Landed two micro-optimizations 3bbf8d8 and 8f623fb, which together improve parser performance by about ~12%.<br><a title=\"\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/nikic\/PHP-Parser\/issues\/349#issuecomment-277518336\" target=\"_blank\">https:\/\/github.com\/nikic\/PHP-Parser\/issues\/349#issuecomment-277518336<\/a><\/div> <div class=\"text-note-small\"><span style=\"font-size: 26px; float: left; padding: 0 6px 0 0;\">\ud83d\udcca<\/span> PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5.<br><a title=\"\" rel=\"noopener noreferrer\" href=\"https:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=PHP-7.3-Performance-Benchmarks\" target=\"_blank\">https:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=PHP-7.3-Performance-Benchmarks<\/a><\/div> <div class=\"text-note-small\"><span style=\"font-size: 26px; float: left; padding: 0 6px 0 0;\">\ud83d\udcca<\/span> Benchmarks of the Garbage Collection improvements<br><a title=\"\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/php\/php-src\/pull\/3165#pullrequestreview-100399813\" target=\"_blank\">https:\/\/github.com\/php\/php-src\/pull\/3165#pullrequestreview-100399813<\/a><\/div> <\/li><li>New <a rel=\"noreferrer noopener\" href=\"https:\/\/www.php.net\/manual\/en\/function.is-countable.php\" target=\"_blank\">is_countable()<\/a> feature has been added.<\/li><li>Now there is also <a rel=\"noreferrer noopener\" aria-label=\" (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/wiki.php.net\/rfc\/same-site-cookie\" target=\"_blank\">support<\/a> for the SameSite directive upon <a rel=\"noreferrer noopener\" aria-label=\"creating PHP cookies (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/www.php.net\/manual\/en\/function.setcookie.php\" target=\"_blank\">creating PHP cookies<\/a>. The SameSite attribute to the HTTP cookie can be used to protect from <a rel=\"noreferrer noopener\" aria-label=\"CSRF (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Cross-site_request_forgery\" target=\"_blank\">CSRF<\/a> (cross-site request forgery) vulnerabilities in the web application. This attribute points that a specific cookie shall be sent only with requests initiated from the same domain. Hence the application is able to detect and deny execution of requests sent from a remote or untrusted source, acting as the user browser. This attribute is still a <a rel=\"noreferrer noopener\" label=\"suggestion for a Web standard (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/datatracker.ietf.org\/doc\/html\/draft-west-first-party-cookies-07\" target=\"_blank\">suggestion for a Web standard<\/a>, but <a rel=\"noreferrer noopener\" aria-label=\"it is supported (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/caniuse.com\/#search=samesite\" target=\"_blank\">it is supported<\/a> by the latest versions of some browsers such as Chrome.<\/li><li>Support of <a rel=\"noreferrer noopener\" aria-label=\"Heredoc and Nowdoc (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/wiki.php.net\/rfc\/flexible_heredoc_nowdoc_syntaxes\" target=\"_blank\">Heredoc and Nowdoc<\/a> syntax.<\/li><li>Migration into the PHP core &#8211; using <a rel=\"noreferrer noopener\" aria-label=\"PCRE2 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/wiki.php.net\/rfc\/pcre2-migration\" target=\"_blank\">PCRE2<\/a> instead of PCRE. PHP features and the current code are kept intact as only new options are added to the expression interpreter (<a rel=\"noreferrer noopener\" aria-label=\"old (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"http:\/\/pcre.org\/original\/doc\/html\/pcresyntax.html\" target=\"_blank\">old<\/a> PCRE and <a rel=\"noreferrer noopener\" aria-label=\"new PCRE2 syntax (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"http:\/\/pcre.org\/current\/doc\/html\/pcre2syntax.html\" target=\"_blank\">new PCRE2 syntax<\/a> for regular expressions).<\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Deprecated in PHP 7.3 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/www.php.net\/manual\/en\/migration73.deprecated.php\" target=\"_blank\">Deprecated in PHP 7.3<\/a>: <a rel=\"noreferrer noopener\" aria-label=\"image2wbmp() (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/www.php.net\/manual\/en\/function.image2wbmp.php\" target=\"_blank\">image2wbmp()<\/a>, <a rel=\"noreferrer noopener\" aria-label=\"fgetss() (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/www.php.net\/manual\/en\/function.fgetss.php\" target=\"_blank\">fgetss()<\/a> and others.<\/li><li>as well as <a rel=\"noreferrer noopener\" aria-label=\"many more (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/www.php.net\/ChangeLog-7.php#7.3.0\" target=\"_blank\">many more<\/a>.<\/li><\/ul>\n\n\n\n<h2 class=\"h4-gray01 wp-block-heading\">WordPress and PHP 7.3<\/h2>\n\n\n\n<p>The new <a href=\"https:\/\/blog.superhosting.bg\/en\/wordpress-5-1.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"WordPress 5.1 (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\">WordPress 5.1<\/a> is fully compatible with PHP 7.3. Before enabling PHP 7.3 for your WordPress website, make sure that all plugins and the theme support PHP 7.3.<\/p>\n\n\n\n<h2 class=\"h4-gray01 wp-block-heading\">Enabling PHP 7.3 with just a click in the PHP Manager<\/h2>\n\n\n\n<p>If you are using the <a rel=\"noreferrer noopener\" aria-label=\"shared hosting (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/en.superhosting.bg\/web-hosting-compare-hosting-plans.php\" target=\"_blank\">shared hosting<\/a> or <a rel=\"noreferrer noopener\" aria-label=\"Managed VPS (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\" href=\"https:\/\/en.superhosting.bg\/web-hosting-common-managed-vps.php\" target=\"_blank\">Managed VPS<\/a> services you can enable PHP 7.3 through cPanel \u00bb <a href=\"https:\/\/help.superhosting.bg\/en\/php-manager-by-superhosting.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"PHP Manager by SuperHosting (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\">PHP Manager by SuperHosting<\/a>.<\/p>\n\n\n\n<p class=\"boxorangedashedborder01\"><strong>Tip<\/strong>: Before switching to PHP 7.3 you can test your website and its components\u2019 performance by creating a staging copy of the website in cPanel. After you create the staging copy, you can enable PHP 7.3. Then you can perform tests to make sure everything works properly with the new PHP version. If you enable version 7.3 directly on the real website and notice that a certain functionality does not work, you can always downgrade to an older PHP version through <a href=\"https:\/\/help.superhosting.bg\/en\/php-manager-by-superhosting.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"PHP Manager by SuperHosting (\u043e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446)\">PHP Manager by SuperHosting<\/a> which is available in your cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new PHP 7.3 seems to be much faster and better performing than the previous 7.2 as benchmarks and comparisons show.<\/p>\n","protected":false},"author":16,"featured_media":54759,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[110],"tags":[212],"class_list":{"0":"post-41789","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-superhosting-technology-en","8":"tag-improvements"},"aioseo_notices":[],"modified_by":"\u041c\u0430\u0434\u043b\u0435\u043d\u0430 \u041c\u0435\u0442\u043e\u0434\u0438\u0435\u0432\u0430","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/41789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/comments?post=41789"}],"version-history":[{"count":7,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/41789\/revisions"}],"predecessor-version":[{"id":65471,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/41789\/revisions\/65471"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media\/54759"}],"wp:attachment":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media?parent=41789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/categories?post=41789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/tags?post=41789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}