Bug #12703: Refering to BUG# 12560

From: Date: Sat, 11 Aug 2001 23:24:00 +0000
Subject: Bug #12703: Refering to BUG# 12560
Groups: php.dev 
Request: Send a blank email to php-dev+get-62963@lists.php.net to get a copy of this message
From: stephan.skusa@lippe-net.de Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Class/Object related Bug description: Refering to BUG# 12560 On Linux this has the same behaviour even if you replace $this-> reference by parent:: or A::, B:: references: class A extends X { function A() { X::X(); } function crash_me() { echo "CRASHME A<br>\n"; } } class B extends A { function B() { A::A(); } function crash_me() { echo "CRASHME B<br>\n"; parent::crash_me(); } } class C extends B { function C() { B::B(); } } $r = new C(); $r->crash_me(); echoes lots of CRASHME B ... but not any CRASHME A ... -- Edit bug report at: http://bugs.php.net/?id=12703&edit=1

« previous php.dev (#62963) next »