<?php $int = 122; $min = 1; $max = 200; if (filter_var($int, FILTER_VALIDATE_INT, array("options" => array("min_range"=>$min, "max_range"=>$max))) === false) { echo("变量值不在合法范围内"); } else { echo("变量值在合法范围内"); } ?>
幼儿园设计
posted on 2020-06-22 17:06 佰草伐 阅读(233) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2025 佰草伐 Powered by .NET 9.0 on Kubernetes