On Tuesday 16 Sep 2003 08:14, Rudi Starcevic wrote:
> Hi,
>
> When printing like this:
>
> print <<<END
> Hello world
> END;
>
> Is it at all possible to use a function in the output ?
> For example:
>
> print <<<END;
> strtolower("Hello World")
IIRC, heredocs print everything contained within literally, unless a
variable. using {} around the function might work, but I really doubt it.
This is where things like smarty templates come in handy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php