الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
تنزيل
الأسئلة الشائعة
النسخة القديمة
Related Class Documentation

<?php
    
require('I18N/Arabic.php');

    
$Ar = new I18N_Arabic('KeySwap');

    
$str "Hpf lk hgkhs hglj'vtdkK Hpf 
    hg`dk dldg,k f;gdjil Ygn ,p]hkdm 
    hgHl,v tb drt,k ljv]]dk fdk krdqdk>"
;

    echo 
"<p><u><i>Before:</i></u><br />
          
$str<br /><br />";
    
    
$text $Ar->swapEa($str);
    echo 
"<u><i>After:</i></u><br />
          
$text<br /><br />
          <b class=hilight>
          جبران خليل جبران</b>
          </p><br /><br />"
;

    
$str "ِىغ هىفثممهلثىف بخخم ؤشى ةشنث
            فاهىلس لاهللثق ةخقث ؤخةحمثء
             شىي ةخقث رهخمثىفز ÷ف فشنثس
              ش فخعؤا خب لثىهعس شىي ش مخف
               خب ؤخعقشلث فخ ةخرث هى فاث
                خححخسهفث يهقثؤفهخىز"
;
    
    echo 
"<p><u><i>Before:</i></u><br />
          
$str<br /><br />";
    
    
$text $Ar->swapAe($str);
    echo 
"<u><i>After:</i></u><br />
         
$text<br /><br /><b class=hilight>
         Albert Einstein</b></p>"
;
?>


Before:
Hpf lk hgkhs hglj'vtdkK Hpf hg`dk dldg,k f;gdjil Ygn ,p]hkdm hgHl,v tb drt,k ljv]]dk fdk krdqdk>

After:
أحب من الناس المتطرفين، أحب الذين يميلون بكليتهم إلى وحدانية الأمور فلا يقفون مترددين بين نقيضين.

جبران خليل جبران



Before:
ِىغ هىفثممهلثىف بخخم ؤشى ةشنث فاهىلس لاهللثق ةخقث ؤخةحمثء شىي ةخقث رهخمثىفز ÷ف فشنثس ش فخعؤا خب لثىهعس شىي ش مخف خب ؤخعقشلث فخ ةخرث هى فاث خححخسهفث يهقثؤفهخىز

After:
Any intelligent fool can make things ghigger more complex and more violent. It takes a touch of genius and a lot of courage to move in the opposite direction.

Albert Einstein

Solving of the problem is on finding out the people who will solve it.
حل المشكلة هو بايجاد من يستطيعون حلها
Index | Features | ArPHP Project | Useful Links | Download | PHP4!!!

Copyright © 2006 - 2021 Khaled Al-Sham'aa. All Rights Reserved | Sourceforge.net | GitHub.com | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟