bcompiler_parse_class

(PECL bcompiler >= 0.4)
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.

Parameters:
class

The class name, as a string.

callback

The class name, as a string.

Returns:

Returns TRUE on success or FALSE on failure.

Notes:

This function has been removed from bcompiler and is no longer available as of bcompiler 0.5.

Examples:
bcompiler_parse_class() example
1
2
3
4
5
6
7
8
9
<?php
 
function readByteCodes($data) {
    print_r($data);
}
 
bcompiler_parse_class("DB","readByteCodes");
 
?>
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.