码农教程
: php 检测一个数字是否在一个范围内
编辑代码
执行
array("min_range"=>$min, "max_range"=>$max))) === false) { echo("变量值不在合法范围内"); } else { echo("变量值在合法范围内"); } ?>
结果: