bcompiler_write_header

(PECL bcompiler >= 0.3)

bcompiler_write_headerд�� bcompiler ͷ

˵��

bcompiler_write_header ( resource $filehandle [, string $write_ver ] ) : bool

д��һ�� bcompiler �ļ���ͷ����

����

filehandle

fopen() ���ص�һ���ļ������

write_ver

�ܹ�����ǰʹ�õĸ�ʽд���ֽ��룬�����Ϳ����ڽϾɵ� bcompiler �汾��ʹ�á�

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

����

Example #1 bcompiler_write_header() ����

<?php
$fh 
fopen("/tmp/example","w");
bcompiler_write_header($fh);
bcompiler_write_class($fh,"DB");
bcompiler_write_footer($fh);
fclose($fh);

?>

ע��

Warning

�˺�����ʵ�����ġ��˺����ı��󣬰������Ƽ�������ĵ���������δ���� PHP �����汾��δ֪ͨ�ͱ��޸ġ�ʹ�ñ����������Ե� ��

�μ�