Copy code The code is as follows:
is_bool(), is_float(), is_int(), is_string(), is_object(), is_array () and is_integer().
Note that when judging
is_numeric() detects whether the variable is a number or a numeric string, it is different from is_integer()
http://www.bkjia.com/PHPjc/313598.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313598.htmlTechArticleCopy the code code as follows: is_bool(), is_float(), is_int(), is_string(), is_object() , is_array() and is_integer(). Note that when judging is_numeric(), it detects whether the variable is a number or a number...