From 04c3bd8a0667c7925bcc79bbe15cb9ba6df66b7c Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 21 Apr 2025 09:08:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0ctype=5Fnumeric?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=8F=98=E7=9B=B8=E6=89=A9=E5=B1=95=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E5=99=A8=E8=A7=84=E5=88=99=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E6=98=AF=E5=90=A6=E6=98=AF=E5=90=88=E7=90=86?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/helper.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extend/base/helper.php b/extend/base/helper.php index 9f0ec7f..d2f96c1 100644 --- a/extend/base/helper.php +++ b/extend/base/helper.php @@ -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); + } +}