karthikeya Boyini

karthikeya Boyini

1,421 Articles Published

Articles by karthikeya Boyini

Page 50 of 143

IntlChar isMirrored() function in PHP

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

The IntlChar::isMirrored() function is used to check whether a character has the Bidi_Mirrored property, which indicates if the character is mirrored in bidirectional text (like Arabic or Hebrew). Syntax bool IntlChar::isMirrored(mixed $codepoint) Parameters codepoint − An integer codepoint value or a character encoded as a UTF-8 string. Return Value Returns TRUE if the character has the Bidi_Mirrored property, FALSE otherwise. Example The following example demonstrates checking various characters for the Bidi_Mirrored property − Output bool(true) bool(true) bool(false) bool(false) bool(true) bool(true) ...

Read More

IntlChar::islower() function in PHP

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

The IntlChar::islower() function checks whether the given input character is a lowercase character or not. Syntax bool IntlChar::islower(val) Parameters val − A character encoded as a UTF-8 string or an integer codepoint value. Return Value The IntlChar::islower() function returns TRUE if the entered value is a lowercase character, FALSE otherwise. Example The following example demonstrates how to check if characters are lowercase − The output of the above code is − bool(true) bool(false) bool(true) bool(false) bool(false) Using Unicode Codepoints ...

Read More

IntlChar::isUAlphabetic() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 71 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::isIDStart() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 73 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::isIDPart() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 142 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 131 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::charName() function in PHP

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

The IntlChar::charName() function gets the name of a Unicode character. This is useful for identifying characters by their official Unicode names. Syntax string IntlChar::charName( val [, choice = IntlChar::UNICODE_CHAR_NAME] ) Parameters val − An integer value or character encoded as UTF-8 string. choice − The following are the constant conditions − IntlChar::UNICODE_CHAR_NAME ...

Read More

IntlChar::ispunct() function in PHP

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

The IntlChar::ispunct() function checks whether the given input character is a punctuation character or not. This function is part of PHP's Intl extension and follows Unicode standards for character classification. Syntax bool IntlChar::ispunct(mixed $val) Parameters val − An integer value or character encoded as a UTF-8 string. This parameter is required. Return Value The IntlChar::ispunct() function returns TRUE if the value is a punctuation character, FALSE otherwise. Returns NULL on failure. Example 1 The following example demonstrates checking various characters ? The output ...

Read More

IntlChar::isprint() function in PHP

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

The IntlChar::isprint() function checks whether a given Unicode character is a printable character or not. A printable character is one that can be displayed and is not a control character. Syntax IntlChar::isprint( val ) Parameters val − An integer codepoint value or a single character encoded as a UTF-8 string. Required! Return Value The IntlChar::isprint() function returns TRUE if the character is printable, FALSE if not printable, or NULL on failure (invalid input). Example 1: Testing Single Characters The following example tests various single characters ? ...

Read More

IntlChar::isbase() function in PHP

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

The IntlChar::isbase() function checks whether a given character is a base character. A base character is any character that is a letter, digit, or other character that can serve as the base for combining characters. Syntax IntlChar::isbase(mixed $codepoint): ?bool Parameters codepoint − An integer codepoint value (e.g., 0x41 for 'A'), or a single UTF-8 character (e.g., "A"). Required. Return Value Returns TRUE if the character is a base character, FALSE otherwise, or NULL on failure (invalid input). Example The following example demonstrates checking various characters ? ...

Read More
Showing 491–500 of 1,421 articles
« Prev 1 48 49 50 51 52 143 Next »
Advertisements