Fw: syntax error on docs
| From: | Gabor Hojtsy | Date: | Fri, 22 Feb 2002 11:54:17 +0000 |
| Subject: | Fw: syntax error on docs | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969342520@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: Ian Sokolowski
To: webmaster@php.net
Sent: Thursday, February 21, 2002 1:30 AM
Subject: syntax error on docs
There are a couple errors on this example
http://www.php.net/manual/en/function.print.php
Example 1. print() examples is MISSING ";"
print "escaping characters is done \"Like this\"."
$variable Undefined variable
print <<<END
This uses the "here document" syntax to output
multiple lines with $variable interpolation. Note
that the here document terminator must appear on a
line with just a semicolon no extra whitespace!
END;