The following if-condition executes as expected:
if (hexdec($range[0]) < $char && $char < hexdec($range[1])) {
however givi