php year code copyright code example Example: php copyright footer © <?php echo date("Y"); ?> Copyright.