What do you do when bored?

Why, implement cowsay in a PHP-emulated CLI environment! Yes,  I am a geek with no life. Small glitch with the script: it can’t handle spaces (has to do with the way it interprets the input), so if you want to write a sentence, use_underscores.

cowsay.jpg