update v1.0.3.3
This commit is contained in:
8
vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test
vendored
Normal file
8
vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
__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
|
Reference in New Issue
Block a user