ID:               26262
 Updated by:       [EMAIL PROTECTED]
 Reported By:      updates at mail dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: windows 98
 PHP Version:      4.3.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

and is & not &&


Previous Comments:
------------------------------------------------------------------------

[2003-11-15 09:32:55] updates at mail dot ru

Description:
------------
Incorrect evaluate logical expression with "and" (with && all O.K.).

Reproduce code:
---------------
<?php
$c = ((1 < 2) and (4 > 3)) and false;
var_dump($c);



Expected result:
----------------
bool(false)

Actual result:
--------------
bool(true)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26262&edit=1

Reply via email to