Last active
March 21, 2016 08:03
-
-
Save DragonBe/31edc0ac22544933e748 to your computer and use it in GitHub Desktop.
Little project for calling the PHP community and hear a nice quote from a respected community member
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$community = array ( | |
'http://blob.phpdev.nu/elephpone/michelangelo_vandam.mp3', | |
'http://blob.phpdev.nu/elephpone/tessa_mero.mp3', | |
'http://blob.phpdev.nu/elephpone/khayrattee_wasseem.mp3', | |
'http://blob.phpdev.nu/elephpone/cal_evans.mp3', | |
'http://blob.phpdev.nu/elephpone/thijs_feryn.mp3', | |
'http://blob.phpdev.nu/elephpone/gabriel_somoza.mp3', | |
'http://blob.phpdev.nu/elephpone/beth_tucker_long.mp3', | |
); | |
$index = rand(0, count($community) - 1); | |
if ($currentCall->network == "SMS") { | |
say('Sorry, SMS service not completed yet. Follow @DragonBe on Twitter.com for updates.'); | |
} else { | |
say($community[$index]); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment