Re: qq! ... ! syntax in PHP?
| From: | Chris Adams | Date: | Tue, 13 Jun 2000 03:41:49 +0000 |
| Subject: | Re: qq! ... ! syntax in PHP? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1686@lists.php.net to get a copy of this message | ||
>
> > 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
In case anyone was wondering, this does work with embedded variables, which
saved me the trouble of \" escaping a large chunk of HTML earlier this
evening. This was probably the perl feature I missed the most.