note 14534 added to language.basic-syntax.comments.php
| From: | php-general at lists dot php dot net | Date: | Thu, 02 Aug 2001 21:40:11 +0000 |
| Subject: | note 14534 added to language.basic-syntax.comments.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16250@lists.php.net to get a copy of this message | ||
SQL writers be careful: the "--" sequence is a valid PHP operator, and this NOT a PHP
comment prefix.
In PHP you should replace them by //
Note that you may nest // line-comments within a larger /* ... */ block-comment...
http://www.php.net/manual/fr/language.basic-syntax.comments.php