Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
bcompiler_write_functions_from_file
bcompiler_write_included_filename
bcompiler_write_header
(PECL bcompiler:0.3-0.8)
bcompiler_write_header — Writes the bcompiler header
Описание
bool bcompiler_write_header ( resource $filehandle [, string $write_ver ] )
Writes the header part of a bcompiler file.
Список параметров
- filehandle
-
A file handle as returned by fopen().
- write_ver
-
Can be used to write bytecode in a previously used format, so that you can use it with older versions of bcompiler.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Примеры
Пример #1 bcompiler_write_header() example
<?php
$fh = fopen("/tmp/example","w");
bcompiler_write_header($fh);
bcompiler_write_class($fh,"DB");
bcompiler_write_footer($fh);
fclose($fh);
?>
Примечания
Внимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.
Смотрите также
bcompiler_write_functions_from_file