Re: Question about CREATE_FUNCTION
| From: | Bogdan Stancescu | Date: | Fri, 21 Dec 2001 13:43:38 +0000 |
| Subject: | Re: Question about CREATE_FUNCTION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78463@lists.php.net to get a copy of this message | ||
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