downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

bcompiler_parse_class> <bcompiler_load_exe
Last updated: Fri, 13 Nov 2009

view this page in

bcompiler_load

(PECL bcompiler >= 0.4)

bcompiler_loadbz 圧縮されたファイルを読み込み、クラスを生成する

説明

bool bcompiler_load ( string $filename )

bzip 圧縮されたファイルを読み込み、バイトコードからクラスを生成します。

パラメータ

filename

bzcompress されたファイルのパスを表す文字列。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 bcompiler_load() の例

<?php

bcompiler_load
("/tmp/example");

print_r(get_defined_classes());

?>

注意

警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

注意: バイトコードをパースするには、include 文や require 文を 使用してください。この関数を使用するよりも、そのほうが より移植性が高く便利です。
この関数は、バイトコードファイルに含まれるスクリプト本体のコードを 実行するわけではないことに注意しましょう。

参考



add a note add a note User Contributed Notes
bcompiler_load
There are no user contributed notes for this page.

bcompiler_parse_class> <bcompiler_load_exe
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites