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
Popis
bool bcompiler_parse_class
( string $class
, string $callback
)
Reads the bytecodes of a class and calls back to a user function.
Parametre
- class
-
The class name, as a string.
- callback
-
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.
Príklady
Example#1 bcompiler_parse_class() example
<?php
function readByteCodes($data) {
print_r($data);
}
bcompiler_parse_class("DB","readByteCodes");
?>
Poznámky
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Note: This function has been removed from bcompiler and is no longer available as of bcompiler 0.5.