note 9174 added to Comments
| From: | huggie-php at earth dot li | Date: | Fri, 20 Oct 2000 07:23:45 +0000 |
| Subject: | note 9174 added to Comments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6757@lists.php.net to get a copy of this message | ||
People (me included) trip up on using //
// should (IMHO) ignore til the end of the line *whatever* but this isn't what it does.
The documentation above touches on it but this bug illustrates it better: http://bugs.php.net/bugs.php?id=6653
Basically // or # probably won't do what you want if you include <? or ?>. Use /* stuff
to end of line */ instead.
http://www.php.net/manual/language.basic-syntax.comments.php