note 99031 deleted from function.is-string by danbrown

From: Date: Fri, 23 Jul 2010 14:29:41 +0000
Subject: note 99031 deleted from function.is-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171076@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- son9ne, you are comparing $var with the output of "is_string" function it returns "false" because empty string is not equal to "true" function works fine with empty strings, so check out "switch" syntax

« previous php.notes (#171076) next »