note 3295 deleted from function.print by jimw
| From: | jimw@php.net | Date: | Fri, 14 Dec 2001 20:20:58 +0000 |
| Subject: | note 3295 deleted from function.print by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22731@lists.php.net to get a copy of this message | ||
To do the Perl-style print<<EOF ("here docs"), you need to use three chevrons (i.e.
"<<<") instead of two, as two would be interpreted as a bitwise operator. I
found this at the "Welcome Zend" article listed in the PHP site's "In the
News" section on page 4 of said article. BTW, this works for echo as well as print.