Re: Question about CREATE_FUNCTION

From: Date: Fri, 21 Dec 2001 13:51:49 +0000
Subject: Re: Question about CREATE_FUNCTION
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-78464@lists.php.net to get a copy of this message
Thank you for you interest, I need to know this because am building an CMS package.. and create function create functions on the fly which can come in handy very much.. My questions was wheter create_function the PHP tag, slow is or not... hope someone can help me out here.. Warm regards, Emile Bosch "Bogdan Stancescu" <mgv@fx.ro> wrote in message news:3C233C8A.BF9BCF5D@fx.ro... > 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 >

« previous php.general (#78464) next »