Description
bool
bcompiler_read ( resource filehandle )
警示 |
本函數是實驗性的。本函數的行為,內含函數名稱以及其它任何關於本函數的文件可能會在沒有知會的情況下隨
PHP 以後的發佈而改變。使用本函數風險自擔。 |
注:
Please use include or require statements to parse
bytecodes, it's more portable and convenient way than using this function.
Reads data from a open file handle and creates classes from the bytecodes.
Please note that this function won't execute script body code contained in the bytecode file.
例子 1. bcompiler_read() example
<?php $fh = fopen("/tmp/example","r"); bcompiler_read($fh); fclose($fh); print_r(get_defined_classes());
?>
|
|