Re: Question about CREATE_FUNCTION

From: Date: Fri, 21 Dec 2001 13:52:35 +0000
Subject: Re: Question about CREATE_FUNCTION
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-78465@lists.php.net to get a copy of this message
Nope $test(); Regards, Andrey ----- Original Message ----- From: "Bogdan Stancescu" <mgv@fx.ro> To: "Emile Bosch" <emilebosch@hotmail.com> Cc: <php-general@lists.php.net> Sent: Friday, December 21, 2001 3:43 PM Subject: Re: [PHP] Question about CREATE_FUNCTION > Why do you need this? To my knowledge you get the same behaviour with > > <? > function create_function() > { > [body] > } > > $test="create_function"; > > $test; > ?> > > Bogdan > > Emile Bosch wrote: > > > Dear list, > > Does anyone know how the internals of create function works? > > > > $test = create_function('blah','$arg,$arg2',$code); > > > > Does it really create the function in $test; or creates it a global function > > and references it to $test > > > > And further more, > > is it very SLOW? > > > > Warm regards, > > Emile Bosch > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#78465) next »