values as important (#[\NoDiscard]) • Make OPcache a non-optional part of PHP • RFC 3986 and WHATWG URL compliant API • Clone with v2 • Grapheme cluster for levenshtein, grapheme_levenshtein function • Support Closures in constant expressions • First Class Callables in constant expressions
values as important (#[\NoDiscard]) • Make OPcache a non-optional part of PHP • RFC 3986 and WHATWG URL compliant API • Clone with v2 • Grapheme cluster for levenshtein, grapheme_levenshtein function • Support Closures in constant expressions • First Class Callables in constant expressions 今日はこの2つについてお話します!
'Hello World!!'; } // OK $result = hello(); // OK echo hello(); // OK (void)hello(); // Warning: The return value of function hello() should either be used or intentionally ignored by casting it as (void), DO NOT DISCARD THE RESULT hello(); NoDiscard アトリビュートの例