note 60960 added to language.basic-syntax.comments

From: Date: Sat, 21 Jan 2006 09:46:21 +0000
Subject: note 60960 added to language.basic-syntax.comments
Groups: php.notes 
Request: Send a blank email to php-notes+get-102199@lists.php.net to get a copy of this message
M Spreij wrote, 08-May-2005 08:15... A nice way to toggle the commenting of blocks of code can be done by mixing the two comment styles: ... This works because a /* .. */ overrides //. The final sentence should be the other way round, i.e. This works because a // overrides /* .. */. (If it didn't the /* .. */ would comment out the code regardless of whether an additional '/' is prefixed to the first line). ---- Server IP: 85.116.0.130 Probable Submitter: 86.132.202.8 ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.comments.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60960 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60960&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60960&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102199) next »