note 25276 added to language.operators

From: Date: Tue, 17 Sep 2002 20:39:49 +0000
Subject: note 25276 added to language.operators
Groups: php.notes 
Request: Send a blank email to php-notes+get-36856@lists.php.net to get a copy of this message
The >= > < <= operators dont work to well on numbers. I am writing a ticking program and found it rather annoying when doing ($now <= $nexttick) would return true regardless of anything. However (($now-$nexttick)<=0) works. I feel this should be more defined. -- http://www.php.net/manual/en/language.operators.php http://master.php.net/manage/user-notes.php?action=edit+25276 http://master.php.net/manage/user-notes.php?action=delete+25276 http://master.php.net/manage/user-notes.php?action=reject+25276

« previous php.notes (#36856) next »