Hi,

Rudi Starcevic <[EMAIL PROTECTED]> 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")
> END;
> 
> So far I've been unable to make it function work.

Hmm... I don't think that'll work. This one should though:

$my_string = strtolower("Hello World");
print <<<END
$my_string
END;

--

- E -

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to