Ticket #89 (closed defect: fixed)

Opened 4 years ago

Last modified 2 weeks ago

No implicit constructor in cached class.

Reported by: gacek@intertele.pl Assigned to: 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

test.php (390 bytes) - added by gacek@intertele.pl on 05/19/06 17:13:27.
Attached file for better formatting

Change History

05/19/06 17:13:27 changed by gacek@intertele.pl

  • attachment test.php added.

Attached file for better formatting

05/19/06 17:14:33 changed by anonymous

  • component changed from Control panel to eAccelerator.

05/26/06 19:03:25 changed 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.

06/02/06 14:49:56 changed 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 :)

06/06/06 15:45:41 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

This particular crash of Mambo 4.6rc1 has gone.

02/24/10 14:41:33 changed 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