Apuntes
PHP INTERVIEW
Contenido del apunte (1)
Página 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
Información
- Descripción
- Apunte sobre PHP INTERVIEW, creado por Web Img el 24/07/2018.
- Creado por
- Web Img · jul 2018
- Actualizado
- 24 jul 2018
- Visitas
- 0
- Valoración