123456789101112131415161718192021222324252627 |
- --TEST--
- Testing static call method using the original class name
- --FILE--
- <?php
- class foo {
- static public function msg() {
- print "hello\n";
- }
- }
- interface test { }
- class_alias('foo', 'baz');
- class bar extends baz {
- public function __construct() {
- foo::msg();
- }
- }
- new bar;
- ?>
- --EXPECT--
- hello
|