Test Ar-PHP Functionality Online
Test PHP Function
Sub Class:
- Select one -
AutoSummarize
CharsetD
CompressStr
Date
Gender
Glyphs
Hiero
Identifier
KeySwap
Mktime
Normalise
Numbers
Query
Salat
Sort
Soundex
Standard
Stemmer
StrToTime
Transliteration
WordTag
Method:
- Select one -
stripTatweel
stripTashkeel
normaliseHamza
normaliseLamaleph
unichr
normalise
unshape
utf8Strrev
isTashkeel
isHaraka
isShortharaka
isTanwin
isLigature
isHamza
isAlef
isWeak
isYehlike
isWawlike
isTehlike
isSmall
isMoon
isSun
charName
str:
[reverse_numbers]:
Result (
var_dump
output):
Ar-PHP Manual
method utf8Strrev
[line
284
]
string utf8Strrev( string $str, [boolean $reverse_numbers = false])
Take a UTF8 string and reverse it.
Tags:
return:
The reversed string.
access:
public
Parameters:
string
$str
the string to be reversed.
boolean
$reverse_numbers
whether to reverse numbers.
Example
include
(
'./I18N/Arabic.php'
)
;
$obj
=
new
I18N_Arabic
(
'Normalise'
)
;
$str
=
"Arabic text with tatweel, tashkeel..."
;
echo
"
<p><u><i>Before:</i></u><br />
$str
<br /><br />
"
;
$text
=
$obj
->
stripTatweel
(
$str
)
;
echo
"
<u><i>After:</i></u><br />
$text
<br /><br />
"
;
Popular
utf8Glyphs
(1182)
ar2en
(965)
money2str
(550)
en2ar
(394)
isFemale
(291)
Recent
ar2en
(9 hours)
str2graph
(9 hours)
a4Lines
(11 days)
utf8Glyphs
(11 days)
money2str
(33 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa