How to call site name in PHP block?
You can use variable_get() to get the site name, but you shouldn't use it directly in the template file or you could break caching.

Instead, define a preprocess function in your theme's template.php file:

function MYTHEME_preprocess_page(&amp;$vars) {
  $vars['site_name'] = variable_get('site_name', 'Default');
}


Then you can use this in the template file:

Copyright © &lt;?php echo date("Y"); ?&gt; &lt;?php echo $site_name; ?&gt;


Before doing that, though, check whether you already have $site_name available in page.tpl.php. Some themes add it for you, some don't.