note 8846 deleted from Logical Operators by ronabop

From: Date: Mon, 02 Oct 2000 12:07:54 +0000
Subject: note 8846 deleted from Logical Operators by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5956@lists.php.net to get a copy of this message
This cought me off guard perhaps a bug: The && operator takes presidence over the assignment operator = but the 'and' operator does not. while($row=dbFetch($cursor) && $i < 20) $row=(dbFetch($cursor) && i) where while($row=dbFetch($cursor) and $i < 20) $row=(dbFetch($cursor))

« previous php.notes (#5956) next »