note 105626 deleted from language.basic-syntax.phpmode by danbrown
| From: | danbrown@php.net | Date: | Thu, 01 Sep 2011 20:26:24 +0000 |
| Subject: | note 105626 deleted from language.basic-syntax.phpmode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182892@lists.php.net to get a copy of this message | ||
Note Submitter: aaron dot aceves at gmail dot com
----
Using comments to remove code should not be a good idea, see example below:
This is a test
<?= //$td_width ?>
Maybe the expected result should be to display nothing, but instead, this cause an error. To avoid
this kind of errors, never use an inline comment to remove code.
Avoid
//
Use
/* */