>>589
$i = "+01e1";
if(($i - ($j = floor($i))) == 0 and $i > 0 and is_numeric($i)){
print "test";
}

結果:test