Description
The following code:
<?phpclass Dnf
{
privateA|(B&C) $a; // validprivate (B&C)|A$b; // validprivatereadonlyA|(B&C) $c; // validprivatereadonly (B&C)|A$d; // invalid?}Resulted in this output:
Parse error: syntax error, unexpected token "(", expecting variable in app/test.php on line 7
But I expected this output instead:
PHP Version
php:8.2.0RC1-zts-alpine3.16
Operating System
No response
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
php:8.2.0RC1-zts-alpine3.16
Operating System
No response