1--TEST-- 2Bug #48215 - parent::method() calls __construct, case sensitive test 3--FILE-- 4<?php 5class a { 6 public function __CONSTRUCT() { echo __METHOD__ . "\n"; } 7 public function a() { echo __METHOD__ . "\n"; } 8} 9class b extends a {} 10class c extends b { 11 function __construct() { 12 b::b(); 13 } 14} 15$c = new c(); 16?> 17===DONE=== 18--EXPECTF-- 19Fatal error: Uncaught Error: Call to undefined method b::b() in %s:%d 20Stack trace: 21#0 %s(%d): c->__construct() 22#1 {main} 23 thrown in %s on line %d 24