Re: Question about CREATE_FUNCTION
| From: | LaserJetter | Date: | Fri, 21 Dec 2001 21:07:47 +0000 |
| Subject: | Re: Question about CREATE_FUNCTION | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78523@lists.php.net to get a copy of this message | ||
I understand what you want to know (I dont know myself though) I dont see
why it should be significantly slower than any other function (unless you're
doing it millions of times in a row!!)
If it doesnt recommend using a different function in the manual, I would
keep using the one you're happiest with
"Emile Bosch" <emilebosch@hotmail.com> wrote in message
news:20011221210313.2953.qmail@pb1.pair.com...
> thx for al the help but i need some help of a php developer i guess cuz i
am
> misunderstood here..
>
>
> "Bogdan Stancescu" <mgv@fx.ro> wrote in message
> news:200112211617.fBLGHdn00710@fx.ro...
> > Or, to actually prove your point in the original e-mail (I checked it
and
> > you're right):
> > <?
> > function echotest()
> > {
> > echo("Testing");
> > }
> >
> > $test="echotest";
> > ?>
> >
> > If you now try <? $test; ?> it won't do anything -- as you said, <?
> $test();
> > ?> is the proper code.
> >
> > Something worth mentioning is that even if you do <? $test="echotest()";
> ?>
> > the former version won't work.
> >
> > Bogdan
> >
> > > <?php
> > > $test='htmlspecialchars';
> > > echo $test('<html>');
> > > ?>
> > >
> > > Produces :
> > >
> > > <html>
> > >
> > > Regards,
> > > Andrey
> > >
> > > ----- Original Message -----
> > > From: "Alexander Skwar" <ASkwar@DigitalProjects.com>
> > > To: "Andrey Hristov" <ahristov@icygen.com>
> > > Cc: <php-general@lists.php.net>
> > > Sent: Friday, December 21, 2001 5:35 PM
> > > Subject: Re: [PHP] Question about CREATE_FUNCTION
> > >
> > > So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 :
> > > > Nope
> > > > $test();
> > >
> > > Please explain!
> > >
> > > Alexander Skwar
>
>