xref: /PHP-8.0/Zend/tests/halt02.phpt (revision d33500ee)
1--TEST--
2__HALT_COMPILER() basic test
3--FILE--
4<?php
5
6$fp = fopen(__FILE__, "r");
7fseek($fp, __COMPILER_HALT_OFFSET__+1);
8print fread($fp, 1000);
9
10__HALT_COMPILER();
11Overlay information...
12--EXPECT--
13Overlay information...
14