Tell me more about the new PHP 7

September 13, 2017     3 comments

PHP 7 is the first significant version update to PHP in several years. There are several upgrades and general changes that you might be interested to know about. As always, we recommend that you use the latest software versions whenever possible. This article includes instructions for upgrading to PHP 7. 

PHP 7 is much faster and, due to changes in the way errors are handled, more stable. Dynamic websites that are built using popular content management systems (CMS) like Wordpress should run more efficiently and be less likely to crash when compared to previous PHP versions. 

From the official PHP documentation:  

  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  • Significantly reduced memory usage
  • Abstract Syntax Tree
  • Consistent 64-bit support
  • Improved Exception hierarchy
  • Many fatal errors converted to Exceptions
  • Secure random number generator
  • Removed old and unsupported SAPIs and extensions
  • The null coalescing operator (??)
  • Return and Scalar Type Declarations
  • Anonymous Classes
  • Zero cost asserts
To know how to change the PHP version in your account, click here.

Note: Despite the fact that PHP 7.0 is a new major version, and efforts have been made to make migration as painless as possible, there are still backwards compatibility issues that you may encounter. This is less of a concern for newly provisioned servers with new sites, but could still be an issue if you intend to migrate sites that utilize older versions of PHP.


How helpful was this article to you?

3 Comments

icon
Aly Chiman
March 9, 2019

Hello there,

My name is Aly and I would like to know if you would have any interest to have your website here at website.com.bn promoted as a resource on our blog alychidesign.com ?

We are in the midst of updating our broken link resources to include current and up to date resources for our readers. Our resource links are manually approved allowing us to mark a link as a do-follow link as well
.
If you may be interested please in being included as a resource on our blog, please let me know.

Thanks,
Aly

icon
ThomasHeiff
April 27, 2019

all inclusive resorts adults only usa, summer slow cooker recipes, <a href=http://benefitnation.net/__media__/js/netsoltrademark.php?d=www.siphosjamaica.com/how-to-make-a-lemonade-stand>how to make a lemonade stand</a>, gin and juice recipe, all inclusive resorts in usa for adults

icon
ThomasHeiff
April 27, 2019

summer dinner ideas hot days, how to make a lemonade stand, <a href=http://benefitnation.net/__media__/js/netsoltrademark.php?d=www.siphosjamaica.com/dinner-ideas-for-hot-days>dinner ideas for hot days</a>, jamaica all inclusive resorts adults only, dinner ideas for hot days

Leave a comment

Your name
Your email address
Comment on this article