Fresh selection with links to news and materials. In the release: PHP 7.2.0 RC6, PHP-FIG news, a couple of adopted RFCs for PHP 7.3, a portion of useful tools, materials on asynchronous PHP, and much more.
Enjoy reading!
var_dump( $foo, $bar, $buz, );
<?php $values = [<<<EOT a b c EOT, 'de f'];
<?php return [ 'times2' => function (int $x): int { return $x * 2; }, 'answer' => function (): int { return 42; } ];
<?php ['times2' => $mul] = require 'foo.php'; var_dump($mul(21)); // int(42)
Thanks for attention!
If you notice an error or inaccuracy - please inform the PM .
Write questions and suggestions by mail or twitter .
Send link
Search links for all digests
← Previous release: PHP Digest number 119
Source: https://habr.com/ru/post/342742/