Closed Firesphere closed 1 year ago
both strlen and ctype_xdigit are now type-hardened expecting an explicit string. Passing in null will throw an error.
strlen
ctype_xdigit
null
Thus, casting it to string to ensure it is a string, makes sure that PHP doesn't throw an error about the passed in value not being a string.
Resolvel #24
Thanks!
both
strlen
andctype_xdigit
are now type-hardened expecting an explicit string. Passing innull
will throw an error.Thus, casting it to string to ensure it is a string, makes sure that PHP doesn't throw an error about the passed in value not being a string.
Resolvel #24