Edit report at https://bugs.php.net/bug.php?id=65363&edit=1

 ID:                 65363
 Updated by:         ni...@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

Reply via email to