Re: // ?>
| From: | Martin Alterisio | Date: | Wed, 05 Dec 2007 02:06:36 +0000 |
| Subject: | Re: // ?> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265462@lists.php.net to get a copy of this message | ||
2007/12/4, Kevin Schmeichel <schmeic-php@lovo.org>:
>
> 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?
>
Expected behavior. Read the manual:
http://php.net/manual/en/language.basic-syntax.comments.php