The IntlChar::isdefined() function is an inbuilt function in PHP which is used to check whether the code point is defined or not. The character is said to be determined if it is assigned a character. It is True for general categories other than Cn (other, not assigned).
bool IntlChar::isdefined ( $codepoint )
Parameters: This function accepts single parameter $codepoint which is mandatory. The $codepoint value is an integer values or character, which is encoded as a UTF-8 string.
Return Value: This function returns True if $codepoint is a defined character, False otherwise.
Below programs illustrate the IntlChar::isdefined() function in PHP:
bool(true) bool(true) bool(false) NULL bool(true)
bool(true) NULL bool(true) NULL bool(true) bool(true) NULL bool(true)