← 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

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

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