__halt_compiler

(PHP 5 >= 5.1.0, PHP 7)

__halt_compiler — �жϱ�������ִ��

˵��

__halt_compiler ( void ) : void

�жϱ�������ִ�С���������PHP�ű���Ƕ�����ݣ������ڰ�װ�ļ���

����ͨ������ __COMPILER_HALT_OFFSET__ ��ȡ���ݿ�ʼ�ֽ����ڵ�λ�ã��Ҹó�������������ʹ����__halt_compiler���ļ���

����ֵ

û�з���ֵ��

����

Example #1 __halt_compiler() ����

<?php

// open this file
$fp = fopen(__FILE__, 'r');

// seek file pointer to data
fseek($fp, __COMPILER_HALT_OFFSET__);

// and output it
var_dump(stream_get_contents($fp));

// the end of the script execution
__halt_compiler(); the installation data (eg. tar, gz, PHP, etc.)

ע��

Note:

__halt_compiler() ���ܹ��������ʹ�á�