php获取变量的类型 gettype 2021年2月2日2015年2月2日 作者 yang PHP中获得变量类型是gettype($var); 使用方法如下: 输出变量$var得到变量的类型。 使用参考 … 阅读更多