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

PHP determines character type What are the PHP data types?

WBOY
WBOYOriginal
2016-07-28 08:30:182068browse

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.

    🎜 🎜
    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