1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-14 02:17:31 +01:00
PHP-Parser/test/code/stmt/haltCompilerOutermostScope.test-fail
2011-11-27 21:50:19 +01:00

8 lines
178 B
Plaintext

__halt_compiler can only be used from outermost scope
-----
<?php
if (true) {
__halt_compiler();
}
-----
__halt_compiler() can only be used from the outermost scope on line 3