{"id":101,"date":"2016-08-05T04:27:45","date_gmt":"2016-08-05T04:27:45","guid":{"rendered":"http:\/\/www.fastwebhost.in\/blog\/?p=101"},"modified":"2017-02-18T04:30:33","modified_gmt":"2017-02-18T04:30:33","slug":"new-features-php-7","status":"publish","type":"post","link":"https:\/\/www.fastwebhost.in\/blog\/new-features-php-7\/","title":{"rendered":"Few things to know about new PHP 7"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">2016 is a big year for PHP programming world. After many iterations, the PHP 7 was released in 2015.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> It takes a\u00a0certain time to adapt to new versions for the industry and develop an\u00a0application on top of that.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The web hosting control panel software provider cPanel has started rolling out PHP 7 through their Easyapache script. However, PHP 7.0 is only available through EasyApache 4. \u00a0As a <a href=\"https:\/\/www.fastwebhost.in\/web-hosting.html\">cPanel web hosting<\/a> company, we are excited to use PHP 7 in our infrastructure and share some of the important features.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We are excited to use PHP 7 in our infrastructure and share some of the important features.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">PHP 7 Performance<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Your application runs twice as fast on PHP 7 compared to version 5.6. PHP 7 is based on the PHPNG project ( PHP Next-Gen), that was led by Zend to speed up PHP applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For detailed performance benchmarks, have a look at <\/span><a href=\"http:\/\/talks.php.net\/oz15#\/wpbench\"><span style=\"font-weight: 400;\">Rasmus Lerdorf\u2019s presentation at PHP Australia<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><br \/>\n<span style=\"font-weight: 400;\">Overall, you could expect a 100% improvement on WordPress Hosting sites performance.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">List of new language features<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Facilitates Error Handling<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">64-Bit Windows Systems Support<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">New Spaceship and Null Coalescing Operators<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Scalar Type Hints<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Return Type Hints<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Accurate Type declarations.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Anonymous Classes<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Group declarations<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Clean code<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">You can view the full list of deprecations and changes here: <\/span><a href=\"https:\/\/wiki.php.net\/rfc\/removal_of_dead_sapis_and_exts\"><span style=\"font-weight: 400;\">https:\/\/wiki.php.net\/rfc\/removal_of_dead_sapis_and_exts<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Please note that if you are using legacy PHP applications the new PHP 7 can potentially break the code.<\/span><\/p>\n<p>Happy PHP 7 coding and hosting!<\/p>\n<p>Sources:<\/p>\n<p><a href=\"http:\/\/php.net\/manual\/en\/migration70.new-features.php\" target=\"_blank\">http:\/\/php.net\/manual\/en\/migration70.new-features.php<\/a><\/p>\n<p><a href=\"https:\/\/blog.cpanel.com\/php-7-is-here\/\" target=\"_blank\">https:\/\/blog.cpanel.com\/php-7-is-here\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 2016 is a big year for PHP programming world. After many iterations, the PHP 7 was released in 2015. It takes a\u00a0certain time to adapt to new versions for the industry and develop an\u00a0application on top of that. The web hosting control panel software provider cPanel has started rolling out PHP 7 through their [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":102,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[80,2],"tags":[17,16,12],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":3,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions\/165"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/media\/102"}],"wp:attachment":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}