summaryrefslogtreecommitdiff
path: root/Zend/tests/halt_compiler1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/halt_compiler1.phpt')
-rw-r--r--Zend/tests/halt_compiler1.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Zend/tests/halt_compiler1.phpt b/Zend/tests/halt_compiler1.phpt
new file mode 100644
index 0000000..4987b29
--- /dev/null
+++ b/Zend/tests/halt_compiler1.phpt
@@ -0,0 +1,8 @@
+--TEST--
+__HALT_COMPILER();
+--FILE--
+<?php echo 'test'; var_dump(__COMPILER_HALT_OFFSET__); __HALT_COMPILER();
+?>
+===DONE===
+--EXPECT--
+testint(73) \ No newline at end of file