Getting ready for PHP 7.1

php-logo

In short:

  • Catching multiple exception types
  • Curl HTTP/2 server push support
  • Support class constant visibility
  • Void return types
  • Generalize support of negative string offsets
  • Allow specifying keys in list() and square bracket syntax for array destructuring
  • Warn about invalid strings in arithmetic
  • Deprecate and remove mcrypt()

Upcoming changes in PHP 7.1 →

Don’t forget about the changes made in PHP 5.6, and those in PHP 7

Elsewhere ,

One Response to Getting ready for PHP 7.1

  1. Pingback: Destructuring arrays in PHP: Practical examples | Bram.us

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.