PHP data types

1. scalar

1. Integer (is integer)

1 2 3 。。。。。。

2. floating-point type (that is, decimal)

1.3 3.2 0.8

3. Boolean

True true (1 = 1) false false (1 = 2)

4. string type

A quoted string

2. mixed types

1. Array

array
Liezi: $ arr = {1,2,3, ' aa', 'abc'}

2. Object

object

3. Special characters

1. Empty

null

2. Resource

resource
resource is the picture on our computer network requests are avi rumb mp3 resources

Published 15 original articles · won praise 10 · views 577

Guess you like

Origin blog.csdn.net/weixin_44439445/article/details/102980717
Recommended