PHP | IntlChar isMirrored() Function Last Updated : 27 Aug, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 IntlChar::isMirrored ( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is an integer value or character, which is encoded as UTF-8 string. Return Value: This function returns True if the $codepoint has the Bidi_Mirrored property, False otherwise. Below programs illustrate the IntlChar::isMirrored() function in PHP: Program 1: php <?php // PHP program to illustrate // IntlChar::isMirrored function // Input data is character type var_dump(IntlChar::isMirrored("A")); // Input character symbol var_dump(IntlChar::isMirrored("<")); // Input character symbol var_dump(IntlChar::isMirrored("(")); // Input character symbol var_dump(IntlChar::isMirrored("^")); ?> Output: bool(false) bool(true) bool(true) bool(false) Program 2: php <?php // PHP code to illustrate IntlChar::isMirrored() // function. // Declare an array $arr $arr = array("Z", "291", "^", "A", "<", ")"); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::isMirrored($val)); } ?> Output: bool(false) NULL bool(false) bool(false) bool(true) bool(true) Related Articles: PHP | IntlChar::charMirror() Function PHP | IntlChar::isspace() Function PHP | IntlChar::iscntrl() Function Reference: http://php.net/manual/en/intlchar.ismirrored.php Comment More infoAdvertise with us Next Article PHP | IntlChar::islower() Function V vijay_raj Follow Improve Article Tags : Misc Web Technologies PHP PHP-function PHP-Intl +1 More Practice Tags : Misc Similar Reads PHP IntlChar::ord() Function The IntlChar::ord() function is an inbuilt function in PHP which is used to return the Unicode code point value of the given character. Syntax: int IntlChar::ord( $character ) Parameters: This function accepts a single parameter $character which is mandatory. This parameter is a Unicode character. R 2 min read 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 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::islower() Function The IntlChar::islower() function is an inbuilt function in PHP which is used to check whether the given input character is a lowercase character or not. Syntax: bool IntlChar::islower( $codepoint ) Parameter: This function accepts a single parameter $codepoint which is mandatory. The input parameter 2 min read PHP | IntlChar::isIDIgnorable() Function 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... 2 min read PHP | IntlChar::isIDPart() Function The IntlChar::isIDPart() function is an inbuilt function in PHP which is used to check whether the given input character is permissible in an identifier or not. It is True for characters with general category "L" (Letters), "Nd" (Decimal digits), "Nl" (letters numbers), "Mc" and "Mn"(Combining marks 2 min read Like