1--TEST-- 2032: Namespace support for user functions (php name) 3--FILE-- 4<?php 5class Test { 6 static function foo() { 7 echo __CLASS__,"::",__FUNCTION__,"\n"; 8 } 9} 10 11function foo() { 12 echo __FUNCTION__,"\n"; 13} 14 15call_user_func(__NAMESPACE__."\\foo"); 16call_user_func(__NAMESPACE__."\\test::foo"); 17?> 18--EXPECT-- 19foo 20Test::foo 21