Perl PRINT vs PHP
| From: | John Monfort | Date: | Sun, 18 Feb 2001 10:22:49 +0000 |
| Subject: | Perl PRINT vs PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40412@lists.php.net to get a copy of this message | ||
Hello everyone,
In perl, you can use 'print qq' to print a block of text. Like,
print qq~
my text block goes here, with " " or whatever...
my other line with more special characters...
~;
Is there something similar in PHP? I've tried the above, but it does not
work. I was wondering if PHP had something as convenient.
__________John Monfort_________________
_+-----------------------------------+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-