bcompiler_write_fileとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > bcompiler_write_fileの意味・解説 

bcompiler_write_file

(PECL)
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() も参照ください。


このページでは「PHP関数リファレンス」からbcompiler_write_fileを検索した結果を表示しています。
Weblioに収録されているすべての辞書からbcompiler_write_fileを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からbcompiler_write_file を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「bcompiler_write_file」の関連用語

bcompiler_write_fileのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



bcompiler_write_fileのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS