mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
d33500ee20
__halt_compiler() patch
14 lines
223 B
PHP
14 lines
223 B
PHP
--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...
|