Req #65363 [NEW]: ; separates, does not terminate
| From: | TorrAB at Yahoo dot com | Date: | Tue, 30 Jul 2013 23:43:17 +0000 |
| Subject: | Req #65363 [NEW]: ; separates, does not terminate | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-180594@lists.php.net to get a copy of this message | ||
From: TorrAB at Yahoo dot com
Operating system:
PHP version: Irrelevant
Package: *Programming Data Structures
Bug Type: Feature/Change Request
Bug description:; separates, does not terminate
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 bug report at https://bugs.php.net/bug.php?id=65363&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65363&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65363&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65363&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65363&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65363&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65363&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65363&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65363&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65363&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65363&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65363&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65363&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65363&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65363&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65363&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65363&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65363&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65363&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65363&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65363&r=mysqlcfg