Nueva selección con enlaces a noticias y materiales. En el lanzamiento: actualizaciones de PHP y Composer 1.10, transferencias de conferencias, 3 nuevas ofertas de RFC de PHP Internals, una porción de herramientas útiles, videos, podcasts y mucho más.
¡Disfruta leyendo!
Noticias y lanzamientos
- PHP 7.4.4, PHP 7.3.16, PHP 7.2.29 — , .
- Composer 1.10.0 — , «funding» composer.json, , . FUNDING.yml GitHub.
composer fund
, .
, .
• PHP Russia – , 13 PHP Russia Online.
•
PHP- , .
• : Laracon EU Madrid, Midwest PHP.
PHP Internals
- [RFC] str_contains — .
str_contains()
, . - [RFC] throw expression — PHP ,
throw
– , . , :$callable = fn() => throw new Exception();
$value = $nullableValue ?? throw new InvalidArgumentException();
$value = $falsableValue ?: throw new InvalidArgumentException();
$value = !empty($array)
? reset($array)
: throw new InvalidArgumentException();
- [RFC] Compact Object Property Assignment — . [RFC] Object Initializer, . :
doTheFoo((new Foo)->[
a = 1,
b = 2,
c = 3,
]);
$myObj = new Foo();
$myObj->a = 1;
$myObj->b = 2;
$myObj->c = 3;
doTheFoo($myObj);
- [RFC] Is Literal Check —
is_literal()
, / , , , PHP, .define('TABLE', 'example');
$sql = 'SELECT * FROM ' . TABLE . ' WHERE id = ?';
is_literal($sql);
$sql .= ' AND id = ' . mysqli_real_escape_string($db, $_GET['id']);
is_literal($sql);
, . , . - [RFC] Write-Once Properties — , . , , , .
- RFC .
.
Understanding RFC attitudes , - , - , PHP Internals RFC.

Symfony
Laravel
Async PHP

/
¡Gracias por la atención!
Si nota un error o imprecisión, infórmeme en PM .
Preguntas y sugerencias escritas a mail o twitter .
Más noticias y comentarios sobre el canal de telegramas PHP Digest .
Enviar enlace
Buscar enlaces para todos los resúmenes
← Versión anterior: PHP Digest No. 175