note 74279 deleted from function.intval by bobby

From: Date: Tue, 03 Apr 2007 15:04:59 +0000
Subject: note 74279 deleted from function.intval by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-125046@lists.php.net to get a copy of this message
Note Submitter: ---- I have to say it's so nice that this function returns an integer no matter what (like a zero on failure). Unlike the VBS function CInt() where you have to add a bunch of checks for empty or non-numeric values. It's nice to just be able to FORCE something to be an integer. Gotta love PHP.

« previous php.notes (#125046) next »