Nova seleção com links para notĂcias e materiais. Na versĂŁo: atualizaçÔes do PHP e do Composer 1.10, transferĂȘncias de conferĂȘncia, 3 novas ofertas de RFC da PHP Internals, uma parte de ferramentas Ășteis, vĂdeos, podcasts e muito mais.
Gostar de ler!
NotĂcias e Lançamentos
- 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

/
Obrigado pela atenção!
Se vocĂȘ perceber um erro ou imprecisĂŁo - informe-me no PM .
Perguntas e sugestÔes escreva para o correio ou twitter .
Mais notĂcias e comentĂĄrios no canal PHP Digest Telegram .
Enviar link
Pesquisar links para todos os resumos
â VersĂŁo anterior: PHP Digest No. 175