The IntlChar::charAge() function is an inbuilt function in PHP which is used to find the “mirror-image” character from the given input code point character, which maps the specified character.
mixed IntlChar::charMirror( $codepoint )
Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is a character or integer value, which is encoded as a UTF-8 string.
Return Value: This function returns another Unicode code point that may serve as a mirror-image substitute, or codepoint itself if there is no such mapping or codepoint does not have the Bidi_Mirrored property. The function returns an integer unless code point was passed in UTF-8 string and a string will be return.
Below programs illustrate the IntlChar::charMirror() Function in PHP.
string(1) "A" string(1) "B" string(1) "&" string(1) "}" string(1) "^" string(1) "[" string(1) "2" NULL
string(1) "G" NULL NULL string(1) "7" string(1) "F" NULL NULL string(1) " "
- How to get the function name inside a function in PHP ?
- D3.js | d3.hsl() Function
- D3.js | d3.sum() function
- PHP | exp() Function
- PHP | Ds\Map xor() Function
- PHP | cos( ) Function
- PHP | sin( ) Function
- PHP | Ds\Map put() Function
- D3.js | d3.max() function
- PHP | pi( ) Function
- D3.js | d3.set.has() Function
- PHP | next() Function
- D3.js | d3.map.set() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : nidhi_biet