php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test-fail

9 lines
179 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