Functions Php

function display_footer($site_name) {
         function display_copyright($site_name) {
              print "© ". date("Y"). " $site_name.";
         }
         print "contact us
";
         display_copyright($site_name);
}
$site_name = "PHP";
display_footer($site_name);
?>