Are you PHP senior?
Check is string numeric
0%
Check is string integer
82%
Check is this string number
18%
11 votes · Closed
Let's test your knowledge. What this check checking? Please explain.
if(is_numeric($something) && (int)$something == $something){
/* DO SOMETHING */
}