Bug #15407: The " == " op does not work
| From: | piapoco at excite dot com | Date: | Wed, 06 Feb 2002 21:00:14 +0000 |
| Subject: | Bug #15407: The " == " op does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79399@lists.php.net to get a copy of this message | ||
From: piapoco@excite.com
Operating system: Windows 2000
PHP version: 4.1.1
PHP Bug Type: Variables related
Bug description: The " == " op does not work
I'm using Apache and IIS 5.
When I use the comparison operator ( == ), my code fails. But when I use a
single ( = ), it goes fine. I'm using the plain config that comes with
Apache and PHP, but added a line to have .incs treated in the server.
This is the lame code:
if ($myrow == mysql_fetch_array($Recset))
{
$gIDClient = $HTTP_POST_VARS["IDClient"];
}
The assigment never gets touched and no error messages are issued.
Weird, ain't it?
Thanks.
--
Edit bug report at http://bugs.php.net/?id=15407&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15407&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15407&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15407&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15407&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15407&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15407&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15407&r=notenoughinfo