feat: 增加ctype_numeric函数变相扩展验证器规则,支持验证是否是合理数字。

This commit is contained in:
augushong
2025-04-21 09:08:47 +08:00
parent 0a577cb321
commit 04c3bd8a06

View File

@@ -454,3 +454,9 @@ if (!function_exists('format_null_value')) {
return $value;
}
}
if (!function_exists('ctype_numeric')) {
function ctype_numeric($input)
{
return is_numeric($input);
}
}