检查数据类型: is_array(); is_object(); is_string(); is_null(); is_integer(); 3> PHP5 引入类的类型提示(type hint),用来约束一个方法的参数类型">