note 96543 deleted from function.is-numeric by danbrown
| From: | danbrown@php.net | Date: | Thu, 04 Mar 2010 15:17:44 +0000 |
| Subject: | note 96543 deleted from function.is-numeric by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166656@lists.php.net to get a copy of this message | ||
Note Submitter: fabien at forum-mp3 dot com
----
You have to use strtolower for this function work well:
function is_hex($hexValue)
{
if(strtolower($hexValue) == strtolower(dechex(hexdec($hexValue))))
{
return true;
}
else
{
return false;
}
}