Req #65363 [Opn->Wfx]: ; separates, does not terminate

From: Date: Wed, 31 Jul 2013 10:14:25 +0000
Subject: Req #65363 [Opn->Wfx]: ; separates, does not terminate
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-180623@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65363&edit=1 ID: 65363 Updated by: nikic@php.net Reported by: TorrAB at Yahoo dot com Summary: ; separates, does not terminate -Status: Open +Status: Wont fix Type: Feature/Change Request Package: Scripting Engine problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Not going to happen Previous Comments: ------------------------------------------------------------------------ [2013-07-30 23:43:17] TorrAB at Yahoo dot com Description: ------------ The ';' should not be required at the end of an IF clause, as in if ($a > $b) {echo "a is greater than b";} else {echo "a is NOT greater than b";} if ($a > $b) {echo "a is greater than b"} else {echo "a is NOT greater than b"} should be correct. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65363&edit=1

« previous php.bugs (#180623) next »