global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / cuf08.php
blob5bd1995422deb54931b1fcd3ceb1dd81a228cd6c
1 <?hh
3 class Test {
5 public function __call($method, $args) {
6 var_dump($args);
9 public static function __callStatic($method, $args) {
10 var_dump($args);
13 public function normal($args) {
14 var_dump($args);
19 $test = new Test();
20 call_user_func_array(array($test, 'magic'), array('bur' => 'bar'));
21 call_user_func_array(array($test, 'normal'), array('badum' => 'tss'));
22 call_user_func_array('Test::hi', array('bleep', 'bloop'));
23 $test->hi('hello world!');