xref: /PHP-5.5/Zend/tests/bug48215_2.phpt (revision d98de7d2)
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 C() {
12		b::b();
13	}
14}
15$c = new c();
16?>
17===DONE===
18--EXPECTF--
19Fatal error: Call to undefined method b::b() in %s on line %d
20