时间:2021-07-01 10:21:17 帮助过:25人阅读
说明: $a == $b;// Equal TRUE if $a is equal to $b. $a === $b;// Identical TRUE if $a is equal to $b, and they are of the same type. (introduced in PHP 4) 意思为: ==是不判断二者是否是同一数据类型,而===是更为严格的比较,它不但要求二者值相等,而且还要求它们的数据类型也相同。 |