1--TEST-- 2Bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+) 3--FILE-- 4<?php 5 6class AA { 7 function AA() { echo "foo\n"; } 8} 9class bb extends AA {} 10class CC extends bb { 11 function CC() { parent::bb(); } 12} 13new CC(); 14 15class A { 16 function A() { echo "bar\n"; } 17} 18class B extends A {} 19class C extends B { 20 function C() { parent::B(); } 21} 22new C(); 23 24?> 25--EXPECT-- 26foo 27bar 28