bcompiler_parse_class
(PECL bcompiler:0.4-0.8)
bcompiler_parse_class — Reads the bytecodes of a class and calls back to a user function
说明
bool bcompiler_parse_class
( string $class
, string $callback
)
Reads the bytecodes of a class and calls back to a user function.
参数
- class
-
The class name, as a string.
- callback
-
返回值
如果成功则返回 TRUE,失败则返回 FALSE。
范例
Example#1 bcompiler_parse_class() example
<?php
function readByteCodes($data) {
print_r($data);
}
bcompiler_parse_class("DB","readByteCodes");
?>
注释
Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。
Note: This function has been removed from bcompiler and is no longer available as of bcompiler 0.5.