mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
d33500ee20
__halt_compiler() patch
11 lines
200 B
PHP
11 lines
200 B
PHP
--TEST--
|
|
__HALT_COMPILER() basic test
|
|
--FILE--
|
|
<?php
|
|
|
|
if (true) {
|
|
__HALT_COMPILER();
|
|
}
|
|
--EXPECTF--
|
|
Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %shalt03.php on line %d
|