PHP 4.0 Bug #4751 Updated: fopen within if is not executed
| From: | Bug Database | Date: | Thu, 01 Jun 2000 11:06:53 +0000 |
| Subject: | PHP 4.0 Bug #4751 Updated: fopen within if is not executed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19950@lists.php.net to get a copy of this message | ||
ID: 4751
Updated by: stas
Reported By: s.frings@edvfrings.de
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
This is how PHP parser works - $x = 1 && $y = 2 is parser as:
$x = (1 && $y = 2). Use parentheses (that's a good habit anyway, when you use
assignments with logical ops).
Full Bug description available at: http://bugs.php.net/version4/?id=4751