note 90062 deleted from language.basic-syntax.phpmode by googleguy

From: Date: Wed, 01 Jan 2014 03:59:34 +0000
Subject: note 90062 deleted from language.basic-syntax.phpmode by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-198062@lists.php.net to get a copy of this message
Note Submitter: Richard Neill ---- WARNING: there is a potentially *nasty* gotcha here. Consider the following: <html><body><pre> First line <?/* Comment, inside PHP */?> Second line </pre></body></html> If the comment is immediately followed by newline (and most editors will trim spaces at the ends of lines anyway), then you will NOT get what you expect. Expect: First line Second Line Actually get: First line Second line Now, if you are relying on that newline, for example to terminate a line of Javascript, where the trailing semicolon is optional, watch out!

« previous php.notes (#198062) next »