summaryrefslogtreecommitdiff
path: root/Zend/tests/halt02.phpt
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2005-06-04 16:16:19 +0000
committerZeev Suraski <zeev@php.net>2005-06-04 16:16:19 +0000
commitd33500ee20f08a72a2ca6327abed232d422ee03a (patch)
tree33f59694df323af0e7e7163f763dd6b1267b6921 /Zend/tests/halt02.phpt
parent09c2da0d078ea42a83d3774f990a510d01827ba7 (diff)
downloadphp-git-d33500ee20f08a72a2ca6327abed232d422ee03a.tar.gz
Thought I committed it ages ago... Anyway, without further delays, the final
__halt_compiler() patch
Diffstat (limited to 'Zend/tests/halt02.phpt')
-rw-r--r--Zend/tests/halt02.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/halt02.phpt b/Zend/tests/halt02.phpt
new file mode 100644
index 0000000000..caaa474095
--- /dev/null
+++ b/Zend/tests/halt02.phpt
@@ -0,0 +1,13 @@
+--TEST--
+__HALT_COMPILER() basic test
+--FILE--
+<?php
+
+$fp = fopen(__FILE__, "r");
+fseek($fp, __COMPILER_HALT_OFFSET__+1);
+print fread($fp, 1000);
+
+__HALT_COMPILER();
+Overlay information...
+--EXPECT--
+Overlay information...