Annotation of embedaddon/php/Zend/tests/bug27669.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dynamically)
! 3: --FILE--
! 4: <?php
! 5: error_reporting(E_ALL & !E_STRICT);
! 6:
! 7: class A {
! 8: function hello() {
! 9: echo "Hello World\n";
! 10: }
! 11: }
! 12: $y[0] = 'hello';
! 13: A::$y[0]();
! 14: ?>
! 15: ===DONE===
! 16: --EXPECTF--
! 17: Hello World
! 18: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>