Re: qq! ... ! syntax in PHP?
| From: | Nicholas Pappas | Date: | Mon, 12 Jun 2000 14:39:09 +0000 |
| Subject: | Re: qq! ... ! syntax in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1621@lists.php.net to get a copy of this message | ||
Many thanks -- exactly what I was looking for! I haven't tried it
out yet, but do you know if variables can be put in?
ie:
<?
print <<< END
you have reloaded this page $count times!
END;
?>
Nick
> > The name of this syntax is escaping me in PERL, but I am wondering if
> > this exists in PHP?
>
> I think that you're talking about here-docs. This is PHP4 from the code
> library...
> http://www.zend.com/tips/tips.php?id=59&single=1
>
>
>
>