php-src/Zend/tests/halt_compiler1.phpt
Ilia Alshanetsky 17c0c49a54 Addres limitation of __HALT_COMPILER() that allowed only one instance
per request.

# Patch by Greg Beaver
2007-04-04 00:42:42 +00:00

8 lines
147 B
PHP

--TEST--
__HALT_COMPILER();
--FILE--
<?php echo 'test'; var_dump(__COMPILER_HALT_OFFSET__); __HALT_COMPILER();
?>
===DONE===
--EXPECT--
testint(73)