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