On Tue, 11 Aug 2020, Chris Riley wrote:

> Quick question.
> 
> What is the expected behaviour of:
> 
> @[Bar()];
> class Foo {}

That will error out in PHP 8, with:

Parse error: syntax error, unexpected token ";" in Standard input code on line 2

cheers,
Derick

-- 
PHP 7.4 Release Manager
Host of PHP Internals News: https://phpinternals.news
Like Xdebug? Consider supporting me: https://xdebug.org/support
https://derickrethans.nl | https://xdebug.org | https://dram.io
twitter: @derickr and @xdebug

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to