karthikeya Boyini

karthikeya Boyini

1,420 Articles Published

Articles by karthikeya Boyini

Page 55 of 142

IntlChar::isUAlphabetic() function in PHP

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 85 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 85 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 157 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 146 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 210 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 160 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 192 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 141 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

Check if a string starts with given word in PHP

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

In PHP, you can check if a string starts with a specific word or substring using various methods. The most common approaches include using substr(), strpos(), or the newer str_starts_with() function (PHP 8+). Using Custom Function with substr() Create a function that compares the beginning of a string with the specified substring ?

Read More

ftp_raw() function in PHP

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

The ftp_raw() function sends raw commands directly to the FTP server and returns the server's response. This gives you low-level control over FTP operations by allowing you to send any valid FTP protocol command. Syntax ftp_raw(connection, command) Parameters connection − The FTP connection resource created by ftp_connect() command − The raw FTP command to execute (without trailing CRLF) Return Value The ftp_raw() function returns the server's response as an array of strings, where each element represents a line of the server's response. Example The following example demonstrates sending ...

Read More
Showing 541–550 of 1,420 articles
« Prev 1 53 54 55 56 57 142 Next »
Advertisements