(PECL bcompiler >= 0.6)
bcompiler_write_file — Writes a php source file as bytecodes
$filename) : bool
This function compiles specified source file into bytecodes, and writes them to the open file handle.
A file handle as returned by fopen().
The source file path, as a string.
TRUE on success or
FALSE on failure.
Example #1 bcompiler_write_file() example
$fh = fopen("example.phb", "w");
/* the following should be equivalent:
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.