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...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn