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 -
en2ar
ar2en
enNum
arNum
string:
[standard]:
Result (
var_dump
output):
Ar-PHP Manual
static method ar2en
[line
224
]
static String ar2en( string $string, [string $standard = 'UNGEGN'])
Transliterate Arabic string into English by render them in the orthography of the English language
Tags:
return:
Out of vocabulary Arabic string in English characters
author:
Khaled Al-Sham'aa <
khaled@ar-php.org
>
access:
public
Parameters:
string
$string
Arabic string you want to transliterate
string
$standard
Transliteration standard, default is UNGEGN and possible values are [UNGEGN, UNGEGN+, RJGC, SES, ISO233]
Example
include
(
'./I18N/Arabic.php'
)
;
$obj
=
new
I18N_Arabic
(
'Transliteration'
)
;
$ar_word_1
=
$obj
->
en2ar
(
$en_word_1
)
;
$en_word_2
=
$obj
->
ar2en
(
$ar_word_2
)
;
Popular
utf8Glyphs
(1224)
ar2en
(973)
money2str
(550)
en2ar
(400)
isFemale
(291)
Recent
setMode
(23 hours)
ar2en
(2 days)
a4MaxChars
(5 days)
utf8Glyphs
(5 days)
a4Lines
(5 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa