Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

Re: [PHP] Question about CREATE_FUNCTION From: Andrey Hristov (ahristov <email protected>)
Date: 12/21/01

Nope
$test();

Regards,
Andrey
----- Original Message -----
From: "Bogdan Stancescu" <mgv <email protected>>
To: "Emile Bosch" <emilebosch <email protected>>
Cc: <php-general <email protected>>
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 <email protected>
> > For additional commands, e-mail: php-general-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>