PHP | IntlChar::isIDIgnorable() Function Last Updated : 27 Aug, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report The IntlChar::isIDIgnorable() function is an inbuilt function in PHP which is used to determine the code point is an ignorable character or not. It is TRUE for characters with general category "Cf" (format controls) as well as non-whitespace ISO controls ( U+0000...U+0008, U+000E...U+001B, U+007F...U+009F). Syntax: bool IntlChar::isIDIgnorable( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. It is a character or integer value, which is encoded as UTF-8 string. Return Value: If $codepoint is an ignorable identifier then returns True, otherwise return False. Below programs illustrate the IntlChar::isIDIgnorable() Function in PHP. Program 1: php <?php // PHP code to illustrate // IntlChar::isIDIgnorable() function // Input character codepoint value var_dump(IntlChar::isIDIgnorable("X")); echo "<br>"; // Input symbolic codepoint value var_dump(IntlChar::isIDIgnorable("^ ")); echo "<br>"; // Input int codepoint value var_dump(IntlChar::isIDIgnorable("3 ")); echo "<br>"; // Input int char an identifier // of codepoint value var_dump(IntlChar::isIDIgnorable("\u{007F}")); echo "<br>"; var_dump(IntlChar::isIDIgnorable("\u{012C}")); echo "<br>"; // Input string codepoint value var_dump(IntlChar::isIDIgnorable("Geeks")); echo "<br>"; ?> Output: bool(false) NULL NULL bool(true) bool(false) NULL Program 2: php <?php // PHP code to illustrate // IntlChar::isIDIgnorable function // Declare an array $arr $arr = array("G", "\u{007F}", ".", "8", "/", "\u{000}", "\t", "\u{007}", "\u{0AB}" ); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::isIDIgnorable($val)); echo "<br>"; } ?> Output: bool(false) bool(true) bool(false) bool(false) bool(false) bool(true) bool(false) bool(true) bool(false) Related Articles: IntlChar::charDigitValue() Function IntlChar::isalpha() Function IntlChar::isblank() Function Reference: http://php.net/manual/en/intlchar.isidignorable.php Comment More infoAdvertise with us Next Article PHP | IntlChar istitle() Function J jit_t Follow Improve Article Tags : PHP PHP-Intl Similar Reads PHP | IntlChar isdefined() Function 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). Syntax: bool IntlChar::isdefi 2 min read PHP | IntlChar::iscntrl() Function The IntlChar::iscntrl() function is an inbuilt function in PHP which is used to check the given input is a control character or not. Control characters are line feed, tab, escape, etc. A control character is one of the following types: ISO 8-bit control character (U+0000..U+001f and U+007f..U+009f)I 2 min read PHP | IntlChar istitle() Function The IntlChar::istitle function is an inbuilt function in PHP which is used to check whether the input character code point is a titlecase letter or not. In True cases, the characters with the general category are "Lt" (titlecase letter).Syntax: bool IntlChar::istitle( $codepoint ) Parameters: This f 2 min read PHP | IntlChar::isdigit() Function The IntlChar::isdigit() function is an inbuilt function in PHP which is used to determine the given input code data is a digited character or not. It returns true when the character is under the general category decimal digit numbers. Beginning with Unicode 4, this is the same as testing for the Num 2 min read PHP | IntlChar isgraph() Function The IntlChar::isgraph() function is an inbuilt function in PHP which is used to check the code point is a graphic character or not. It returns True for all characters except those with general categories Cc(control codes), Cf(format controls), Cs(surrogates), Cn(unassigned), and Z(separators). Synta 2 min read PHP | IntlChar isMirrored() Function The IntlChar::isMirrored() function is an inbuilt function in PHP which is used to check the code point contains Bidi_Mirrored property or not. This property is used to set the characters that are commonly used in Right-To-Left contexts and need to be displayed with a mirrored graph. Syntax: bool In 2 min read Like