After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:Boolean type Boolean: the simplest and most useful type
0 可以转为false 空字符串可以转为false null可以转为false ‘0’可以转为false 0.0可以转为false 空数组可以转为false
2018-06-250个赞
Courses in the relevant section:Integer type: seemingly simple but actually very meaningful
true转为整数则值是1,false转为整数则值是0
2018-06-251个赞
Courses in the relevant section:Float: Why can't it be used directly for comparison?
floatval() 将其他类型转为浮点数
2018-06-250个赞
Courses in the relevant section:Array (1): Quick preview of the soundtrack version
array_values()重建数组索引
2018-06-250个赞
Courses in the relevant section:Array (2): Index array and associative array
数组就是键值对的有序集合
2018-06-250个赞