Bug #51455 [Opn->Bgs]: Semi-colon after <?php does nothing.
[email protected] Thu, 1 Apr 2010 15:02:52 +0200 (CEST)
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at http://bugs.php.net/bug.php?id=51455&edit=1 ID: 51455 Updated by: [email protected] Reported by: [email protected] Summary: Semi-colon after <?php does nothing. -Status: Open +Status: Bogus Type: Bug Package: Unknown/Other Function Operating System: Mac OS X 10.6.3 PHP Version: 5.3.2 New Comment: Not PHP's problem, since <?php; might be handled by something else. Previous Comments: ------------------------------------------------------------------------ [2010-04-01 14:44:26] [email protected] Description: ------------ A semi-colon after the opening PHP tag ends the script. Test script: --------------- <?php; echo 'foobar'; ?> Expected result: ---------------- An error, a warning, something. Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51455&edit=1