note 17228 deleted from function.get-class by jimw

From: Date: Tue, 18 Dec 2001 19:59:41 +0000
Subject: note 17228 deleted from function.get-class by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23190@lists.php.net to get a copy of this message
To get the type of a non-object variable (integer, string, boolean, etc..), use gettype(). If you want to know the type of variable or the class name if the parameter is an object, call gettype($var) first, if it returns "object", call get_class($var) (Remove the "nospam." portion of my email address to reply via email)

« previous php.notes (#23190) next »