PHP 支持 10 种数据类型。 四种标量类型: bool(布尔型)int(整型)float(浮点型)string(字符串) 四种复合类型: array(数组)object(对象)callable(可调用)iterable(可迭代) 两种特殊类型: resource(资源)NULL(无类型)