The Lion King

<?php

$son = new Lion('cub');
$son->owner('Mufasa');

if ($son->awake()){
 if (time()<date_sunrise(time(), SUNFUNCS_RET_TIMESTAMP)){
  $son->owner('Sarabi');
 }
}

?>
Vote up this code1