mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
|
--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
|