note 66693 added to language.basic-syntax.comments

From: Date: Fri, 26 May 2006 06:39:53 +0000
Subject: note 66693 added to language.basic-syntax.comments
Groups: php.notes 
Request: Send a blank email to php-notes+get-112305@lists.php.net to get a copy of this message
MSpreij (8-May-2005) says /* .. */ overrides // Anonymous (26-Jan-2006) says // overrides /* .. */ Actually, both are correct. Once a comment is opened, *everything* is ignored until the end of the comment (or the end of the php block) is reached. Thus, if a comment is opened with: // then /* and */ are "overridden" until after end-of-line /* then // is "overridden" until after */ ---- Server IP: 216.194.113.175 Probable Submitter: 207.48.48.7 (proxied: unknown) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.comments.php Edit -- http://master.php.net/note/edit/66693 Del: integrated -- http://master.php.net/note/delete/66693/integrated Del: useless -- http://master.php.net/note/delete/66693/useless Del: bad code -- http://master.php.net/note/delete/66693/bad+code Del: spam -- http://master.php.net/note/delete/66693/spam Del: non-english -- http://master.php.net/note/delete/66693/non-english Del: in docs -- http://master.php.net/note/delete/66693/in+docs Del: other reasons-- http://master.php.net/note/delete/66693 Reject -- http://master.php.net/note/reject/66693 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112305) next »