Re: Question about CREATE_FUNCTION

From: Date: Fri, 21 Dec 2001 21:06:29 +0000
Subject: Re: Question about CREATE_FUNCTION
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-78520@lists.php.net to get a copy of this message
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 : > > > > &lt;html&gt; > > > > 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

« previous php.general (#78520) next »