Example Code:
<?php
$text = 'بسم الله الرحمن الرحيم';
include('I18N_Arabic.php');
$Arabic = new I18N_Arabic('ArCharsetD');
$charset = $Arabic->getCharset($text);
echo "$text ($charset)";
?>
Total execution time is 0.028009176254272 seconds
Amount of memory allocated to this script is 214040 bytes
Names of included or required files:
- /srv/www/vhosts/ar-php.org/httpdocs/I18N_Arabic/I18N_Arabic/Examples/ArCharsetD.php
- /srv/www/vhosts/ar-php.org/httpdocs/I18N_Arabic/I18N_Arabic.php
- /srv/www/vhosts/ar-php.org/httpdocs/I18N_Arabic/I18N_Arabic/I18N_Arabic_CharsetD.php
Related Class Documentation