karthikeya Boyini

karthikeya Boyini

1,421 Articles Published

Articles by karthikeya Boyini

Page 51 of 143

IntlChar charType() function in PHP

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

The IntlChar::charType() function determines the general Unicode category of a character. This function is part of PHP's Intl extension and helps classify characters according to Unicode standards. Syntax int IntlChar::charType(mixed $codepoint) Parameters $codepoint − An integer codepoint value or a character/string encoded as UTF-8. Return Value Returns an integer representing the general category. Common categories include − IntlChar::CHAR_CATEGORY_UPPERCASE_LETTER − Uppercase letters (A-Z) IntlChar::CHAR_CATEGORY_LOWERCASE_LETTER − Lowercase letters (a-z) IntlChar::CHAR_CATEGORY_DECIMAL_DIGIT_NUMBER − Decimal digits (0-9) IntlChar::CHAR_CATEGORY_OTHER_PUNCTUATION − Punctuation marks IntlChar::CHAR_CATEGORY_MATH_SYMBOL − Mathematical symbols IntlChar::CHAR_CATEGORY_CURRENCY_SYMBOL − Currency symbols IntlChar::CHAR_CATEGORY_SPACE_SEPARATOR − Space characters ...

Read More

IntlChar tolower() function in PHP

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

The IntlChar::tolower() function converts a Unicode character to its lowercase equivalent. This function is part of PHP's Intl extension and works with Unicode codepoints and UTF-8 encoded characters. Syntax IntlChar::tolower(mixed $codepoint) Parameters codepoint − An integer representing a Unicode codepoint value, or a character encoded as a UTF-8 string. Return Value The function returns the lowercase equivalent of the given character. If the character is already lowercase or has no lowercase mapping, the same character is returned. Returns NULL on failure or for invalid input. Example The following ...

Read More

IntlChar isMirrored() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 89 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 126 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 77 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 79 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 146 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 134 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 193 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 153 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
Showing 501–510 of 1,421 articles
« Prev 1 49 50 51 52 53 143 Next »
Advertisements