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" <[EMAIL PROTECTED]>
> To: "Andrey Hristov" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]