Bug #26262 [Com]: Error in evaluate logical expression

From: Date: Wed, 01 Sep 2021 18:45:31 +0000
Subject: Bug #26262 [Com]: Error in evaluate logical expression
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236286@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=26262&edit=1 ID: 26262 Comment by: lildurk26262 at gmail dot com Reported by: updates at mail dot ru Summary: Error in evaluate logical expression Status: Not a bug Type: Bug Package: Scripting Engine problem Operating System: windows 98 PHP Version: 4.3.4 Block user comment: N Private report: N New Comment: Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults aged 19 and older. We’re an exclusively online retailer and wholesaler for recreational cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe our work is meaningful and we take pride in our mandate to promote the socially responsible use of legal cannabis. https://lildurk.com/ Previous Comments: ------------------------------------------------------------------------ [2003-11-15 12:54:18] iliaa@php.net 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 && ------------------------------------------------------------------------ [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 https://bugs.php.net/bug.php?id=26262&edit=1

« previous php.bugs (#236286) next »