note 15454 added to function.is-integer

From: Date: Tue, 11 Sep 2001 16:33:22 +0000
Subject: note 15454 added to function.is-integer
Groups: php.notes 
Request: Send a blank email to php-notes+get-17905@lists.php.net to get a copy of this message
the last post by mfurister@newwater.net is of course wrong: (integer)'aaa' === 0 is true (integer)'' === 0 is true (integer)'1.2' === 1 is true etc ... and of course 0 is_integer!! see http://www.php.net/manual/en/language.types.string.php#language.types.string.conversion Ivan http://www.php.net/manual/en/function.is-integer.php

« previous php.notes (#17905) next »