PHP Deprecated: ctype_digit():
Issue #86
new
Good day,
Running into the following PHP Deprecated message on a system using PHP 8.1.2
PHP Deprecated: ctype_digit():
Argument of type bool will be interpreted as string in the future in ./www/html/plugins/ident_switch/ident_switch.php on line 107
Comments (2)
-
repo owner -
reporter Thanks,
Did you have any time to look into this ?
Changing:
elseif (ctype_digit($iid_s)) $iid = intval($iid_s);
to
elseif (is_numeric($iid_s)) $iid = intval($iid_s);
Removed the deprecated warning but gave a new, array error.
- Log in to comment
Thanx, will check