Notes
PHP INTERVIEW
Content of the notes (1)
Page 1
List some of the features of PHP7.
Scalar type declarations
Scalar type declarations come in two flavours: coercive (default) and strict. The following types for parameters can now be enforced (either coercively or strictly): strings (string), integers (int), floating-point numbers (float), and booleans (bool). They augment the other types introduced in PHP 5: class names, interfaces, array and callable.
Return type declarations
Null coalescing operator (??)
Spaceship operator
Constant arrays using define()
Anonymous classes
Closure::call method
Group use declaration
Generator return expressions
Generator delegation
Space ship operator
Information
- Description
- Note on PHP INTERVIEW, created by Web Img on 24/07/2018.
- Created by
- Web Img · Jul 2018
- Updated
- Jul 24, 2018
- Views
- 0
- Rating