Hi Andrea
The reason this doesn't work anymore:
```
If (false);
echo 'Test';
endif;
```
Is because the semicolon is an empty statement:
https://github.com/php/php-src/blob/9e77d5a9da9e80a1bfe226f60ccb12fd8bf9481c/Zend/zend_language_parser.y#L457
This is still valid code:
```
If (false);
echo 'Test';
```
And it always prints. The two semicolons look the same but behave differently
which is why I'm in favor of deprecating it.
Regards
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php