use php8.0

This commit is contained in:
kuaifan
2021-07-27 22:33:15 +08:00
parent fb4848184e
commit d959815f5e
6 changed files with 86 additions and 82 deletions
+1 -1
View File
@@ -877,7 +877,7 @@ class Base
return false;
} else {
list($year, $month, $day) = $strArr;
if (checkdate($month, $day, $year)) {
if (checkdate(intval($month), intval($day), intval($year))) {
return true;
} else {
return false;