ctype_alnum()
function ctype_alnum(string $text): bool
Checks if all characters in the string are alphanumeric.
Parameters:
$text(string)
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/ctype_alnum.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how ctype_alnum is implemented in the compiler, see the internals page.