php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65363 ; separates, does not terminate
Submitted: 2013-07-30 23:43 UTC Modified: 2013-07-31 10:14 UTC
From: TorrAB at Yahoo dot com Assigned:
Status: Wont fix Package: Scripting Engine problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: TorrAB at Yahoo dot com
New email:
PHP Version: OS:

 

 [2013-07-30 23:43 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-31 03:33 UTC] reeze@php.net
-Package: *Programming Data Structures +Package: Scripting Engine problem
 [2013-07-31 10:14 UTC] nikic@php.net
-Status: Open +Status: Wont fix
 [2013-07-31 10:14 UTC] nikic@php.net
Not going to happen
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 03 15:01:28 2025 UTC