The most exciting features of PHP 7.1
summary
Release notes note that PHP 7.1 ships with about 12 new features, 300+ bug fixes, 30 new functions and 56 new global constants and shows concrete behaviors: nullable types use a ? prefix and allow null in params and returns, void return types cause an error if a value is returned, multiple exceptions combine with | in one catch, array destructuring supports short [] and keyed lists, class constants get visibility, and authenticated encryption in OpenSSL with GCM and CCM modes exposes tag parameters for AEAD and curl adds HTTP/2 server push hooks.
AI-written summary · about
chapters (25)
- 0:00Introduction
- 1:08Who is using PHP 71
- 2:01PHP 71 release
- 2:53Notable types
- 3:39Return types
- 5:16Objectoriented
- 8:07Name
- 8:58Void return type
- 10:47Array Deconstruction
- 14:53Skip one element
- 15:19New syntax
- 16:14Iterable
- 17:39Save Type
- 17:55Constants
- 18:53Reflection
- 22:11Multiple exceptions
- 24:44Negative offset
- 29:40Handling asynchronous events
- 32:05Closure
- 33:53authenticated encryption
- 39:20encryption
- 41:23error
- 42:26server push
- 43:49push callback
- 48:15summary








