示例#1
0
<div class="Paragraph" dir="rtl">
<h2 dir="ltr">Example Output 1: المعدود مذكر مرفوع</h2>
<?php
    error_reporting(E_STRICT);
    $time_start = microtime(true);

    include('../Arabic.php');
    $Arabic = new Arabic('ArNumbers');

    $Arabic->setFeminine(1);
    $Arabic->setFormat(1);
               
    $integer = 14159265358979;

    $text = $Arabic->int2str($integer);
    
    echo "<center>$integer<br />$text</center>";
?>

</div><br />
<div class="Paragraph">
<h2>Example Code 1:</h2>
<?php
highlight_string(<<<'END'
<?php
    include('../Arabic.php');
    $Arabic = new Arabic('ArNumbers');

    $Arabic->setFeminine(1);
    $Arabic->setFormat(1);