Re: comment followed by ?> fails to parse

From: Date: Wed, 29 May 2002 13:16:46 +0000
Subject: Re: comment followed by ?> fails to parse
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99711@lists.php.net to get a copy of this message
On Wednesday 29 May 2002 21:10, Brinkman, Theodore wrote: > It really should ignore anything in any sort of comment. The whole point > of a comment is that it provides the programmer with information and is > ignored by the compiler/interpreter. If // is supposed to comment until > the end of the line, then by god, it should comment until the end of the > line, not until the end of the line unless it finds ?> buried in the line > somewhere. Even VB gets this right! As someone has already pointed out that is documented behaviour. Personally I agree with you in that the whole line should be commented. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* "Life is too important to take seriously." -- Corky Siegel */

« previous php.general (#99711) next »