Home > PHP > Function > bcompiler > bcompiler_write_header()

bcompiler_write_header()

bcompiler_write_header - Writes the bcompiler header

Syntax

bool bcompiler_write_header (resource $filehandle, string $write_ver)

Arguments

  • 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.

Description

Writes the header part of a bcompiler file.

Version

PHP PECL bcompiler >= 0.3

Return value

Returns TRUE on success or FALSE on failure.