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
text:
Result (
var_dump
output):
Ar-PHP Manual
method normaliseHamza
[line
165
]
string normaliseHamza( string $text)
Normalise all Hamza characters to their corresponding aleph character in an Arabic text.
Tags:
return:
the normalised text.
author:
Djihed Afifi <
djihed@gmail.com
>
access:
public
Parameters:
string
$text
The text to be normalised.
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
(1224)
ar2en
(973)
money2str
(550)
en2ar
(400)
isFemale
(291)
Recent
stripTatweel
(23 hours)
stem
(23 hours)
tagText
(1 days)
swapAe
(8 days)
normaliseHamza
(8 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa