After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:PHP flow control if else syntax
<?php $ren = true; if($ren){ echo '累就对了 舒服是留给死人的'; }else{ echo '不累,说明你离死亡不远了'; } ?>
2018-04-030个赞
Courses in the relevant section:php data type array
<?php $a =[1,2,3]; var_dump($a); ?>
2018-04-030个赞
Courses in the relevant section:PHP data type viewing and judging data type
来进行判断某个东西是不是某个类型。如果是这个类型返回真,不是这个类型返回假。 is_int 是否为整型 is_bool 是否为布尔 is_float 是否是浮点 is_string 是否是字符串 is_array 是否是数组 is_object 是否是对象 is_null 是否为空 is_resource 是否为资源 is_scalar 是否为标量 is_numeric 是否为数值类型 is_callable 是否为函数
2018-04-030个赞