Location: PHPKode > scripts > Phone Spell > example.php
 * This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com 
 * Feel free to distribute and modify code, but keep reference to its creator 
 * Phone spell class can generate words that represent dialing for provided phone number.
 * It also calculates word weight in numbers to order found variations 
 * starting from most promising ones.
 * For more information, examples and online documentation visit:  
 * http://webcodingeasy.com/PHP-classes/Spell-your-phone-number
//it could take some time
//measure time
$time = microtime();
$time = explode(' ', $time);
$start = $time[1] + $time[0];

//declaring class instance
$ws = new phone_spell();
echo "<pre>";
//your phone number here
$arr = $ws->get("8004659269");

//end time
$time = microtime();
$time = explode(' ', $time);
$end = $time[1] + $time[0];
$total_time = round(($end - $start), 4);
echo '<p>PHP execution: '.$total_time.' seconds.</p>';
Return current item: Phone Spell