Test Ar-PHP Functionality Online

header line!
Test PHP Function













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
  1.    include('./I18N/Arabic.php');
  2.    $obj new I18N_Arabic('Transliteration');
  3.  
  4.    $ar_word_1 $obj->en2ar($en_word_1);
  5.    $en_word_2 $obj->ar2en($ar_word_2);
Popular
Recent
Links
Ads!
footer line!

No Software Patents! General Public License

Home | Twitter | Blog | Contact

Copyright © 2006 - 2016 Khaled Al-Sham'aa