]> granicus.if.org Git - php/blob
7067c23e0d
[php] /
1 --TEST--
2 Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dynamically)
3 --FILE--
4 <?php
5     class A {
6         static function hello() {
7             echo "Hello World\n";
8         }
9     }
10     $y[0] = 'hello';
11     A::{$y[0]}();
12 ?>
13 --EXPECTF--
14 Hello World