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
<?php

function readByteCodes($data) {
    print_r($data);
}

bcompiler_parse_class("DB","readByteCodes");

?>

doc_php
2016-02-24 15:53:46
Comments
Leave a Comment

Please login to continue.