Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
IntlChar getBidiPairedBracket() function in PHP
The IntlChar getBidiPairedBracket() function is used to get the paired bracket character for the value val.
Syntax
IntlChar::getBidiPairedBracket (val)
Parameters
val − An integer or character encoded as a UTF-8 string.
Return
The IntlChar getBidiPairedBracket()function returns the mapped paired bracket.
Example
The following is an example −
<?php
var_dump(IntlChar::getBidiPairedBracket(15));
echo "<br>";
var_dump(IntlChar::getBidiPairedBracket('('));
echo "<br>";
var_dump(IntlChar::getBidiPairedBracket('ABC'));
echo "<br>";
var_dump(IntlChar::getBidiPairedBracket('J'));
?>
Output
The following is the output −
int(15) string(1) ")" NULL string(1) "J"
Advertisements
