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

<?php
    require('I18N/Arabic.php');
    $Arabic = new I18N_Arabic('Soundex');
    
    $Clinton = array('كلينتون', 'كلينتن',
                     'كلينطون', 'كلنتن', 
                     'كلنتون', 'كلاينتون',
                     'كلينزمان');

    echo '<ul>';
    echo '<li>Clinton <b>(';
    echo soundex('Clinton').')</b></li>';
    foreach ($Clinton as $name){
        $soundex = $Arabic->soundex($name);
        
        echo "<li> $name <b class=hilight>
              ($soundex)</b></li>";
    }
    echo '</ul>';

    
    $Milosevic = array('ميلوسيفيتش', 
           'ميلوسفيتش', 'ميلوزفيتش', 
           'ميلوزيفيتش', 'ميلسيفيتش', 
           'ميلوسيفتش', 'ميلينيوم');

    echo '<ul>';
    echo '<li>Milosevic <b>(';
    echo soundex('Milosevic').')</b></li>';
    foreach ($Milosevic as $name){
        $soundex = $Arabic->soundex($name);
        
        echo "<li> $name <b class=hilight>
              ($soundex)</b></li>";
    }
    echo '</ul>';
?>


  • Clinton (C453)
  • كلينتون (K453)
  • كلينتن (K453)
  • كلينطون (K453)
  • كلنتن (K453)
  • كلنتون (K453)
  • كلاينتون (K453)
  • كلينزمان (K452)
  • Milosevic (M421)
  • ميلوسيفيتش (M421)
  • ميلوسفيتش (M421)
  • ميلوزفيتش (M421)
  • ميلوزيفيتش (M421)
  • ميلسيفيتش (M421)
  • ميلوسيفتش (M421)
  • ميلينيوم (M455)
No one you ask for help will see the mistake either.
لن يرى أي شخص تطلب مساعدته أين الخطأ
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? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟