Skip to content

Instantly share code, notes, and snippets.

@icemancast
Created October 3, 2014 20:20
Show Gist options
  • Save icemancast/7b89f7aa3d9325ee18d6 to your computer and use it in GitHub Desktop.
Save icemancast/7b89f7aa3d9325ee18d6 to your computer and use it in GitHub Desktop.
count dracula program to count
<?php
$count = 0;
do {
$count++;
echo `say $count . ' bat... ah ah'`;
} while($count < 5);
sleep(1);
echo `say 'we have ' . $count 'bats.... ah ah ah ah ah ahhhhhhhh'`;
echo `say 'thunder.... boom'`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment