评:
gettype()能显示一个变量的类型,比如“boolean”, “integer”, “double”, “string”, “array”, “object” 等。
get_class()能显示是哪一个类。
instanceo() 和java类似,判断是否是某个类的实例。
在运行时打印变量或对象类型的函数
原创mb6440a93307547 博主文章分类:J2SE ©著作权
©著作权归作者所有:来自51CTO博客作者mb6440a93307547的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
修改node运行时内存上限
保存文件重新编译项目就会停止运行,再重新跑项目真的很崩溃...于是了解相关的解决方案;在文章中会总结一下;
Mac 解决方案 Windows