bcompiler_write_file
bcompiler_write_file — php ソースファイルをバイトコードとして書き込む
説明
bool bcompiler_write_file ( resource filehandle, string filename )警告 |
この関数は、
実験的 なものです。この関数の動作・
名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP
のリリースにおいて変更される可能性があります。
この関数は自己責任で使用してください。 |
この関数は、指定したソースファイルをバイトコードにコンパイルし、 開かれているファイルハンドルに書き込みます。
例 327. bcompiler_write_file() の例
<?php
$fh = fopen("example.phb", "w");
bcompiler_write_header($fh);
bcompiler_write_file($fh, "example.php");
bcompiler_write_footer($fh);
fclose($fh);
/* 以下はまったく同等となります。
include "example.php";
および
include "example.phb";
*/
?>
bcompiler_write_header() および bcompiler_write_footer() も参照ください。
Weblioに収録されているすべての辞書からbcompiler_write_fileを検索する場合は、下記のリンクをクリックしてください。

- bcompiler_write_fileのページへのリンク