Bug #51455 [Opn->Bgs]: Semi-colon after <?php does nothing.

From: Date: Thu, 01 Apr 2010 13:02:52 +0000
Subject: Bug #51455 [Opn->Bgs]: Semi-colon after <?php does nothing.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-149255@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51455&edit=1 ID: 51455 Updated by: sthulbourn@php.net Reported by: sthulbourn@php.net 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] sthulbourn@php.net 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

« previous php.bugs (#149255) next »