1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 09:29:47 +01:00
PHP-Parser/test/code/parser/stmt/haltCompilerOutermostScope.test

8 lines
185 B
Plaintext
Raw Normal View History

2011-11-27 21:43:27 +01:00
__halt_compiler can only be used from outermost scope
-----
<?php
if (true) {
__halt_compiler();
}
-----
2017-01-19 22:25:22 +01:00
__HALT_COMPILER() can only be used from the outermost scope from 3:5 to 3:19