Exemplo n.º 1
0
    <td bgcolor=#000000 width=33%><b><font color=#ffffff>Function</font></b></td>
    <td bgcolor=#000000 width=33%><b><font color=#ffffff>Input</font></b></td>
    <td bgcolor=#000000 width=33%><b><font color=#ffffff>Output</font></b></td>
</tr>
END;
    echo '<tr>
            <td bgcolor=#f5f5f5>PHP soundex function</td>
            <td bgcolor=#f5f5f5>Clinton</td>
            <td bgcolor=#f5f5f5>' . soundex('Clinton') . '</td>
          </tr>';
    
    foreach ($Clinton as $name){
        echo '<tr>
                <td bgcolor=#f5f5f5>ArSoundex Method</td>
                <td bgcolor=#f5f5f5>' . $name . '</td>
                <td bgcolor=#f5f5f5>' . $Arabic->soundex($name) . '</td>
              </tr>';
    }

    echo '<tr>
            <td bgcolor=#f5f5c5>ArSoundex Method</td>
            <td bgcolor=#f5f5c5>كلينزمان</td>
            <td bgcolor=#f5f5c5>' . $Arabic->soundex('كلينزمان') . '</td>
          </tr>';

    echo <<<END
<tr>
    <td colspan=3>&nbsp;</td>
</tr>
<tr>
    <td colspan=3>Listed below are 6 different spelling for the name