Re: comment followed by ?> fails to parse
| From: | Ed Gorski | Date: | Wed, 29 May 2002 13:25:03 +0000 |
| Subject: | Re: comment followed by ?> fails to parse | ||
| References: | 1 2 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-99718@lists.php.net to get a copy of this message | ||
Bah quit complaining, you should be using /* comments */ anyway.....
ed
At 09:16 PM 5/29/2002 +0800, Jason Wong wrote:
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*/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php