Can anyone tell me if it is possible (and how) to use defined constants
within here document content? I've not been successful finding anything
on this in the online docs.
Thanks!
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
It doesn't look like it - a note in the constants manual entry reads:
PHP has no way of recognizing the constant from any other string of
characters within the heredoc block
Danny.
-Original Message-
From: Daniel R. Hansen [mailto:[EMAIL PROTECTED]
Sent: 01 March 2003 15:57
To:
At 16:56 01.03.2003, Daniel R. Hansen said:
[snip]
Can anyone tell me if it is possible (and how) to use defined constants
within here document content? I've not been successful finding anything
on this in the online docs.
and Here Document Interpolation
At 16:56 01.03.2003, Daniel R. Hansen said:
[snip]
Can anyone tell me if it is possible (and how) to use defined constants
within here document content? I've not been successful finding anything
on this in the online docs
At 19:28 01.03.2003, Daniel R. Hansen said:
[snip]
Actually I did try it and couldn't think of a way to work around the matter.
Thanks for the suggestion.
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
You simply could have
5 matches
Mail list logo