Annotation of embedaddon/php/Zend/tests/bug40784.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #40784 (Case sensivity in constructor's fallback)
! 3: --FILE--
! 4: <?php
! 5:
! 6: class A {
! 7: function A () { echo "I'm A\n"; }
! 8: }
! 9:
! 10: class B extends A {
! 11: function __construct() {
! 12: parent::__construct();
! 13: parent::__constrUct();
! 14: }
! 15: }
! 16:
! 17: $b = new B;
! 18:
! 19: echo "Done\n";
! 20: ?>
! 21: --EXPECTF--
! 22: I'm A
! 23: I'm A
! 24: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>