1. 首页
  2. 数据库
  3. 其它
  4. PHP的几个常用数字判断函数代码

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

上传者: 2020-12-23 04:20:11上传 PDF文件 28.01KB 热度 19次
复制代码 代码如下: <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
下载地址
用户评论