mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
feat: 增加ctype_numeric函数变相扩展验证器规则,支持验证是否是合理数字。
This commit is contained in:
@@ -454,3 +454,9 @@ if (!function_exists('format_null_value')) {
|
|||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!function_exists('ctype_numeric')) {
|
||||||
|
function ctype_numeric($input)
|
||||||
|
{
|
||||||
|
return is_numeric($input);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user