note 41189 added to types.comparisons

From: Date: Fri, 02 Apr 2004 08:59:01 +0000
Subject: note 41189 added to types.comparisons
Groups: php.notes 
Request: Send a blank email to php-notes+get-67503@lists.php.net to get a copy of this message
PHP 4.3.4 seems to have "interesting" features: (0 == "info") is false and (0 == "iffo") is true. I cannot find much logic there.... Just use "===" or is_numeric() or something else instead of a simple "if". ---- Manual Page -- http://www.php.net/manual/en/types.comparisons.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41189 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41189&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41189&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67503) next »