array是什么 意思代码如下array ( "min_range"=>0, "max_range"=>256 ));if(!filter_var($var, FILTER_VALIDATE_INT, $int_opt">
时间:2021-07-01 10:21:17 帮助过:26人阅读
$var=300;
$int_options = array(
"options"=>array
(
"min_range"=>0,
"max_range"=>256
)
);
if(!filter_var($var, FILTER_VALIDATE_INT, $int_options))
{
echo("Integer is not valid");
}
else
{
echo("Integer is valid");
}
?>
$int_options = array(
"options"=>array
(
"min_range"=>0,
"max_range"=>256
)
);