Hi!
something looks strange for me.
Why the method Fils::x is called?
MyConfig: RH7.1 PHP4.0.6
I found something similar in the bug database.
http://bugs.php.net/index.php?id=12313
Open 4.0.6 Linux parent resolving and deep require's
## RESULT
Fils::Fils called
Pere::Pere called
Fils::x called
Pere::x called
## SOURCE
class Pere {
function Pere(){
echo "<br>Pere::Pere called";
}
function x(){
echo "<br>Pere::x called";
}
}
class Fils extends Pere {
function Fils(){
echo "<br>Fils::Fils called";
$this->Pere();
}
function x(){
echo "<br>Fils::x called";
parent::x();
}
function y(){
parent::x();
}
}
$f = new Fils();
$f->x();
___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]