note 96543 added to function.is-numeric

From: Date: Thu, 04 Mar 2010 12:44:32 +0000
Subject: note 96543 added to function.is-numeric
Groups: php.notes 
Request: Send a blank email to php-notes+get-166646@lists.php.net to get a copy of this message
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; } } ---- Server IP: 89.31.146.176 Probable Submitter: 82.226.132.131 ---- Manual Page -- http://www.php.net/manual/en/function.is-numeric.php Edit -- https://master.php.net/note/edit/96543 Del: integrated -- https://master.php.net/note/delete/96543/integrated Del: useless -- https://master.php.net/note/delete/96543/useless Del: bad code -- https://master.php.net/note/delete/96543/bad+code Del: spam -- https://master.php.net/note/delete/96543/spam Del: non-english -- https://master.php.net/note/delete/96543/non-english Del: in docs -- https://master.php.net/note/delete/96543/in+docs Del: other reasons-- https://master.php.net/note/delete/96543 Reject -- https://master.php.net/note/reject/96543 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166646) next »