Re: new_object_array()

From: Date: Sun, 25 Apr 2004 18:11:33 +0000
Subject: Re: new_object_array()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-9558@lists.php.net to get a copy of this message
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

« previous php.internals (#9558) next »