Home > Backend Development > PHP Tutorial > What are the PHP data type judgment functions_PHP tutorial

What are the PHP data type judgment functions_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 16:12:47
Original
784 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...
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template