On Dec 6, 2007 10:33 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:

> On Tue, December 4, 2007 7:41 pm, Kevin Schmeichel wrote:
> > Here's some unexpected behavior:
> >
> > <?php
> > // ?> what?
> > ?>
> >
> > This will output "what?" - I expected no output, as is the case if the
> > inline comment was a /* */ comment.  Is this a bug?
>
> The <?php and ?> are parsed first, and the // only applies to
> everything up TO the ?> bit.
>
> Don't do that. :-)
>
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/from/lynch
> Yeah, I get a buck. So?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hi All,

Its something interesting.

-- 
Regards,
Johny
www.phpshore.com

Reply via email to