[php-src] Issue #8166: argument is reserved word
| From: | cmosdall | Date: | Thu, 03 Mar 2022 16:21:58 +0000 |
| Subject: | [php-src] Issue #8166: argument is reserved word | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240161@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8166
Author: cmosdall
### Description
The following code:
```php
$a = empty(var: $b);
<?php
```
Resulted in this output:
```invalid argument name
```
But I expected this output instead:
```
```
### PHP Version
PHP 8.014
### Operating System
Windows