Re: [PHP] Heredocs
- From: ceo@xxxxxxxxx ("Richard Lynch")
- Date: Wed, 29 Aug 2007 14:05:17 -0500 (CDT)
I don't think you can have a space between the <<< and the 'END' bit...
On Wed, August 29, 2007 6:00 am, RodgerW wrote:
Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
I prrint via heredocs and its not working. Print with single quotes
and
double quotes work.
<p>
<h6>string init method 3: heredocs</h6>
<?php
print <<< END
Test
END;
?>
</p>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Please vote for this great band:
http://acl.mp3.com/feature/soundandjury/?band=COMPANY-OF-THIEVES
Requires email confirmation.
One vote per day per email limit.
Obvious ballot-stuffing will be revoked.
.
- Follow-Ups:
- Re: [PHP] Heredocs
- From: "Daniel Brown"
- Re: [PHP] Heredocs
- References:
- Heredocs
- From: RodgerW
- Heredocs
- Prev by Date: CAN'T GET OUT OF THIS LIST
- Next by Date: Re: [PHP] How to run and terminate C++ program(*.exe) with PHP?
- Previous by thread: RE: [PHP] Heredocs
- Next by thread: Re: [PHP] Heredocs
- Index(es):
Relevant Pages
|