note 18205 deleted from function.intval by didou

From: Date: Sun, 18 May 2003 10:08:37 +0000
Subject: note 18205 deleted from function.intval by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48490@lists.php.net to get a copy of this message
Note Submitter: some@gamepoint.net ---- Note that it is stupid though as is_int does exactly what it's supposed to do. It detects a string and not a number. In case of is_int() it's pointless to increment with 0 as that will always return a true value even if the string value didn't hold any numbers. There are some other situations where you might want to do this but not often.

« previous php.notes (#48490) next »