On Wednesday 22 December 2004 08:18, John Holmes wrote: > It is, I guess. > > <?php > > $a = ' ?> '; > $b = ' ?> '; > > ?> > > will work just fine. If you try to comment out either line, though, the PHP > processing will end at the ?> and spit out the rest as plain text. So, text > can have as many ?> as you want and the only issue comes when you try to > comment one of them out. I'm sure it must be documented behaviour, because my syntax highlighting editor seems to be aware of it. When I stick // in front of $a, the colour for comments stop just before the ?>. And a quick check of the manual confirms that it is documented behaviour. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The 357.73 Theory: Auditors always reject expense accounts with a bottom line divisible by 5. unts */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php