[php-src] Issue #8166: argument is reserved word
| From: | iluuu1994 | Date: | Thu, 03 Mar 2022 16:25:24 +0000 |
| Subject: | [php-src] Issue #8166: argument is reserved word | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240163@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8166
Comment Author: iluuu1994
empty() is not a real function so you can't use named parameters with it.
https://www.php.net/manual/en/function.empty.php#refsect1-function.empty-notes
> Note: Because this is a language construct and not a function, it cannot be called using
> [variable functions](https://www.php.net/manual/en/functions.variable-functions.php).
Maybe the docs can be improved but it's definitely not a bug.