Introdução> <rename_function
Last updated: Fri, 24 Feb 2012

Compilador de PHP bytecode



User Contributed Notes
bcompiler
rustushki
29-Dec-2010 08:05
It looks like as of bcompiler 0.9.3 geoff's code above works correctly with the output:

static
construct
testOut
geoff at spacevs dot com
08-Apr-2010 12:08
static vars on classes do not work with bcompiler, eg.

<?PHP
       
class testClass {
                static public
$i;

                static public function
testStatic() {
                        echo
"static\n";
                       
testClass::$i = new testClass();
                }

                public function
__construct() {
                        echo
"construct\n";
                }

                public function
testOut() {
                        echo
"testOut\n";
                }
        }

       
testClass::testStatic();
       
testClass::$i->testOut();
?>

the call to "testOut" will silently fail.

Introdução> <rename_function
Last updated: Fri, 24 Feb 2012