php parsing bug
| From: | Monte Ohrt | Date: | Mon, 07 Aug 2000 18:22:59 +0000 |
| Subject: | php parsing bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28041@lists.php.net to get a copy of this message | ||
Before I submit this to the bug db, I thought I'd verify it here. Let me
know if this is really a bug, or if I have something wrong.
This comment:
// "<? ?>"
causes php to go back to HTML mode after the ?> tag.
example:
#!/usr/local/bin/php -q
<?
// "<? ?>"
echo hello."\n";
?>
results:
Content-type: text/html
"
echo hello."\n";
?>