Hi,
I’ve just installed the latest CVS Version, eaccelerator-5.1-cvs200602061812,
but I’m facing a problem with __autoload() that never occurred before.
Here’s a example script :
Test.php :
<?php
function __autoload($class) {
echo
'The class <b>'.$class.'</b> can\'t be loaded<br />';
}
include 'Test.class.php';
$test = new Test();
?>
And the Test.class.php :
<?php
class Test {
function
__construct() {
echo
'Object created successfully';
}
}
?>
Expected output :
Object created successfully
Current output :
Object created successfully (for the first time the
file is executed)
The class Test
can’t be loaded
Object created successfully (once the file is EA-compiled)
The strange point : the class exists, is loaded, as
the string “Object created successfully” is echoed.
Can you do something for this ?
Best regards,
Yvan.