TplBlock/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test

9 lines
186 B
Plaintext
Raw Normal View History

2018-03-26 21:57:35 +02:00
__halt_compiler can only be used from outermost scope
-----
<?php
if (true) {
__halt_compiler();
}
-----
__HALT_COMPILER() can only be used from the outermost scope from 3:5 to 3:19