Home > Backend Development > PHP Tutorial > PHP determines character type What are the PHP data types?

PHP determines character type What are the PHP data types?

WBOY
Release: 2016-07-28 08:30:18
Original
2207 people have browsed it

There are three major categories:

1. Basic data types:

Integer type (integer), which can be positive or negative integer decimal, octal, hexadecimal;

Floating point type (float),

String type ( string),

Boolean,

2. Composite data types:

array

object

3. Special data types:

null()

resource )

Note: 1>A variable is considered to be NULL in the following situations: NULL

  • 被赋值为 NULL

    • is assigned a value of NULL.
    • has not been assigned a value yet.
    • is

      unset()
    • .

    The above introduces PHP to determine the character type. What are the PHP data types? , including content on determining character types in PHP. I hope it will be helpful to friends who are interested in PHP tutorials.

    🎜 🎜
    Related labels:
    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