note 10157 added to intval

From: Date: Fri, 15 Dec 2000 22:20:15 +0000
Subject: note 10157 added to intval
Groups: php.notes 
Request: Send a blank email to php-notes+get-8770@lists.php.net to get a copy of this message
if(intval($param) == $param) { // $param is integer... }else{ // $param is NOT integer... } Funny and taste... :) http://www.php.net/manual/function.intval.php

« previous php.notes (#8770) next »