Ticket #89 (closed defect: fixed)
No implicit constructor in cached class.
| Reported by: | gacek@… | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | eAccelerator | Version: | 0.9.5 |
| Keywords: | Cc: |
Description
This simple code (below) runs only once with eAccelerator 0.9.5b2. Second run (from cache) displays error: Fatal error: Call to undefined method C::B() in test.php on line 17 Mambo 4.6rc1 does suffer from this bug.
<?php
ini_set("display_errors", "On");
class A {
var $a = "a"; function A() {
echo $this -> a;
}
};
class B extends A { }; class C extends B {
function C() {
$this -> B();
}
}; $c = new C(); ?>
Attachments
Change History
comment:2 Changed 4 years ago by hans
- Owner changed from somebody to hans
I think i've found the problem, and i have a fix for it, but it's gonna need some more testing to see if it doesn't break other stuff. I'll keep you posted.
comment:3 Changed 4 years ago by hans
- Status changed from new to assigned
I have just applied my changes to the sourcetree which should fix this problem. You can find recent snapshots at http://snapshots.eaccelerator.net/
I would be grateful if you could do some testing :)
comment:4 Changed 4 years ago by anonymous
- Status changed from assigned to closed
- Resolution set to fixed
This particular crash of Mambo 4.6rc1 has gone.
comment:5 Changed 6 months ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin

Attached file for better formatting