PHP的几个常用数字判断函数代码

上传:meirong38441 浏览: 16 推荐: 0 文件:PDF 大小:28.01KB 上传时间:2020-12-23 04:20:11 版权申诉
复制代码 代码如下: <HTML> <HEAD> <TITLE>常用的数值判断函数</TITLE> </HEAD> <BODY> <? //判断数组 $colors = array(“red”, “blue”, “green”); if(is_array($colors)) { print(“colors is an array”.””); } //双精度数判断 $Temperature = 15.23; if(is_double($Temperature)) { print(“Temperature is
上传资源
用户评论