1--TEST-- 2mixed forward_static_call_array ( callable $function , array $parameters ); 3--CREDITS-- 4marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br 5--FILE-- 6<?php 7 8function test() { 9 $args = func_get_args(); 10 echo "C " . join(',', $args) . " \n"; 11} 12 13class A { 14 15 const NAME = 'A'; 16 17 public static function test() { 18 $args = func_get_args(); 19 echo static::NAME, " " . join(',', $args) . " \n"; 20 } 21 22} 23 24class B extends A { 25 26 const NAME = 'B'; 27 28 public static function test() { 29 echo self::NAME, "\n"; 30 forward_static_call_array(array('A', 'test'), array('more', 'args')); 31 forward_static_call_array('test', array('other', 'args')); 32 } 33 34} 35 36B::test('foo'); 37?> 38--EXPECT-- 39B 40B more,args 41C other,args 42