I agree that it's best to keep this in user-land using the existing reflection API.

At 08:11 PM 4/25/2004 +0200, Julian Reich wrote:
Hi all,
Hi Timm,

How about:

 return call_user_func_array(
   array(new ReflectionClass($className), 'newInstance'),
   $functionParameters
 );

I also considered this possibility, but it looked like big overhead. Am I wrong?

Yours sincerly,
Julian Reich

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to