revision 1.136
date: 2004/10/31 15:30:53; author: helly; state: Exp; lines: +163 -1
- Add ReflectionFunction::invokeArgs(array)
- Add ReflectionMethod::invokeArgs(obj, array)
Why was this added?
These:
1) call_user_func_array(
array(new ReflectionMethod('class', 'method'), 'invoke',
array(1, 2, 3)
)
2) call_user_func(
array(new ReflectionMethod('class', 'method'), 'invoke',
1, 2, 3
)
work just fine. Do we really need to duplicate code where a solution
already exists?
- Timm
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php