Server Side Programming Articles

Page 1055 of 2109

IntlChar::isWhitespace() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 102 Views

The IntlChar::isWhitespace() function checks whether the given input character is a whitespace character or not. This function is part of PHP's Intl extension and follows Unicode standards for whitespace detection. Syntax IntlChar::isWhitespace(val) Parameters val − A character or integer value encoded as a UTF-8 string, or a Unicode code point. Return Value The IntlChar::isWhitespace() function returns TRUE if the character is a whitespace character, FALSE otherwise, or NULL on failure. Example The following example demonstrates how to use IntlChar::isWhitespace() with different characters ? ...

Read More

IntlChar::isUAlphabetic() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 83 Views

The IntlChar::isUAlphabetic() function is used to check whether the entered value is an Alphabetic Unicode character or not. This function is part of PHP's Internationalization extension and follows Unicode standards for character classification. Syntax IntlChar::isUAlphabetic(val) Parameters val − A character or integer value encoded as a UTF-8 string, or an integer codepoint value. Return Value The IntlChar::isUAlphabetic() function returns TRUE if the value is an Alphabetic Unicode character, FALSE otherwise, or NULL on failure. Example The following example demonstrates checking various characters ? ...

Read More

IntlChar::charMirror() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 99 Views

The IntlChar::charMirror() function finds the "mirror-image" character for bidirectional text display. This function is useful when working with text that contains characters like brackets, parentheses, or other symbols that need to be mirrored in right-to-left languages. Syntax IntlChar::charMirror(val) Parameters val − A character or integer value encoded as a UTF-8 string. Return Value The IntlChar::charMirror() function returns another Unicode code point that may serve as a mirror-image substitute, or the original codepoint itself if there is no such mapping or the codepoint does not have the ...

Read More

IntlChar::isIDStart() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 84 Views

The IntlChar::isIDStart() function is used to check whether the entered character is permissible as the first character of an identifier or not. Syntax bool IntlChar::isIDStart(mixed $codepoint) Parameters $codepoint − A character or integer value encoded as a UTF-8 string, or an integer representing a Unicode code point. Return Value The IntlChar::isIDStart() function returns TRUE if the value is a character that can be used as the first character of an identifier, FALSE otherwise. Returns NULL on failure. Example The following example demonstrates checking various characters for identifier start ...

Read More

IntlChar::forDigit() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 80 Views

The IntlChar::forDigit() function displays the character representation of a specified digit in the specified radix (number base). It returns the ASCII code of the character that represents the digit. Syntax IntlChar::forDigit(digit, radix) Parameters digit − A number to convert to a character (0-35) radix − The radix (base) value. Must be between 2 and 36. Default is 10. Return Value The function returns the ASCII code (integer) of the character representation of the specified digit in the given radix. For digits 0-9, it returns ASCII codes 48-57 ('0'-'9'). For digits ...

Read More

IntlChar::isJavaSpaceChar() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 89 Views

The IntlChar::isJavaSpaceChar() function is used to check whether the entered value is a space character or not according to Java conventions. Syntax IntlChar::isJavaSpaceChar(mixed $codepoint) Parameters codepoint − A character value encoded as a UTF-8 string or an integer representing a Unicode codepoint. Return Value The IntlChar::isJavaSpaceChar() function returns TRUE if the value is a space character according to Java conventions, FALSE otherwise. Returns NULL on failure. Example The following example demonstrates different space characters and non-space characters ? NULL bool(false) bool(true) bool(false) ...

Read More

IntlChar::isIDPart() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 154 Views

The IntlChar::isIDPart() function is used to check whether a given character can be part of an identifier in programming languages. This function follows Unicode standards to determine if a character is valid for use in identifiers. Syntax bool IntlChar::isIDPart(mixed $codepoint) Parameters codepoint − A character value encoded as a UTF-8 string or an integer representing the Unicode code point. Return Value The IntlChar::isIDPart() function returns TRUE if the character can be part of an identifier, FALSE otherwise, or NULL on failure. Example The following example demonstrates how to ...

Read More

IntlChar::isISOControl() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 143 Views

The IntlChar::isISOControl() function is used to check whether the entered value is an ISO control code character or not. ISO control characters are non-printing characters in the range U+0000-U+001F (C0 controls) and U+007F-U+009F (C1 controls). Syntax IntlChar::isISOControl(mixed $codepoint): ?bool Parameters codepoint − A character or integer value encoded as a UTF-8 string, or an integer representing a Unicode code point. Return Value The IntlChar::isISOControl() function returns TRUE if the entered value is an ISO control code character, FALSE otherwise, or NULL on failure. Example ...

Read More

IntlChar::isIDIgnorable() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 154 Views

The IntlChar::isIDIgnorable() function is used to determine whether the entered character is an ignorable character in Unicode identifiers or not. Ignorable characters are those that should be ignored when parsing identifiers in programming languages. Syntax bool IntlChar::isIDIgnorable(mixed $codepoint) Parameters codepoint − A character or integer value encoded as UTF-8 string, or an integer representing the Unicode code point. Return Value The IntlChar::isIDIgnorable() function returns TRUE if the character is an ignorable character, FALSE otherwise. Returns NULL on failure. Example The following example demonstrates how to check various characters ...

Read More

IntlChar::charAge() function in PHP

Samual Sam
Samual Sam
Updated on 15-Mar-2026 231 Views

The IntlChar::charAge() function is used to compute the age of a Unicode character, which represents the Unicode version when the character was first designated or assigned. Syntax array IntlChar::charAge( mixed $codepoint ) Parameters codepoint − A character or integer value encoded as a UTF-8 string, or an integer representing the Unicode code point. Return Value The IntlChar::charAge() function returns an array containing the Unicode version number as four integers representing [major, minor, micro, update]. Returns null on failure. Example The following example demonstrates how to get the Unicode ...

Read More
Showing 10541–10550 of 21,090 articles
Advertisements