← All docs

ctype_alnum()

Checks if all characters in the string are alphanumeric.

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)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how ctype_alnum is implemented in the compiler, see the internals page.