What are the PHP data type judgment functions_PHP tutorial

WBOY
Release: 2016-07-21 16:12:47
Original
721 people have browsed it

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()

www.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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!