Posted by Laiverd.COM on 03/29/07 19:37
Yep; I found the info. Have worked around it in the meantime. Thanks for
your time and input.
John
"Thomas Mlynarczyk" <thomas@mlynarczyk-webdesign.de> wrote in message
news:eugmu0$u41$03$1@news.t-online.com...
> Also sprach ZeldorBlat:
>
>>> Simple question on which I could not find an answer. How would I - if
>>> possible at all - call a function within a heredoc block of text?
>
>> As far as I know you can't. The parser is looking for tokens
>> beginning with $ (i.e. variables) inside the heredoc block.
>
> If, however, your function is a method, it should be possible:
>
> <<< EOT
> Bla {$myObject->myMethod( $foo, $bar )} Bla
> EOT
>
> Greetings,
> Thomas
>
>
[Back to original message]
|