Fresh selection with links to news and materials. In release: PHP 7.2.0 Beta 1, fresh RFC from PHP Internals, materials on asynchronous PHP, video from conferences and meetings, and much more.
Enjoy reading!
setcookie()
and other functions for working with cookies are suggested to add support for the Same-site Cookie standard.json_encode()/json_decode()
suggested to throw an error of class E_WARNING instead of using the function json_last_error()
. $writeln = {Util\writeln}; // is a simplification for $writeln = Closure::fromCallable('Util\writeln'); $writeln = {$terminal->writeln}; // instead of $writeln = Closure::fromCallable([$terminal, 'writeln']);
function foo(mixed $arg): mixed { return $arg; }
Thanks for attention!
If you notice an error or inaccuracy - please inform the PM .
Write questions and suggestions by mail or twitter .
Send link
Quick search in all digests
← Previous release: PHP Digest number 112
Source: https://habr.com/ru/post/334462/
All Articles