Is there any build-in function to check the value is number, in any integral type, like int, float but not string. is_numeric return true for "2". should I check it by both is_int and is_float?
The function that I want should return "invalid value" when $a and $b are not number:
function myFunction($a, $b, $sign){}