xref: /PHP-5.6/Zend/tests/bug40784.phpt (revision 30f45e15)
1--TEST--
2Bug #40784 (Case sensivity in constructor's fallback)
3--FILE--
4<?php
5
6class A {
7	  function A () { echo "I'm A\n"; }
8}
9
10class B extends A {
11  function __construct() {
12    parent::__construct();
13    parent::__constrUct();
14  }
15}
16
17$b = new B;
18
19echo "Done\n";
20?>
21--EXPECTF--
22I'm A
23I'm A
24Done
25