Skip to content

Instantly share code, notes, and snippets.

@erikreagan
Created April 18, 2011 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikreagan/926141 to your computer and use it in GitHub Desktop.
Save erikreagan/926141 to your computer and use it in GitHub Desktop.
<?php
class Haddaway extends Songs_in_code {
public $love;
private $beat;
private $girl;
public function __construct()
{
$this->girl = array('whoa','ooo');
while ($this->beat == .25) {
$this->kick();
}
$this->what_is($this->love);
}
public function what_is($love)
{
for ($i=0; $i < 2; $i++) {
$this->love = $this->hurt_me(FALSE);
}
str_repeat($this->girl[rand(0,1)],10);
$this->love = $love;
}
private function hurt_me($pain = TRUE)
{
return $pain;
}
private function kick()
{
echo "doom";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment