1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 06:02:23 +02:00
Files
archived-php-src/Zend/tests/halt03.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

12 lines
206 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