Re: new_object_array()

From: Date: Mon, 26 Apr 2004 08:31:40 +0000
Subject: Re: new_object_array()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-9563@lists.php.net to get a copy of this message
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


« previous php.internals (#9563) next »