Backtick call appends extra space

Look at the following code:
<?php
$year = `date +
%Y`;
echo "(".$year.")";
?>

The output is
(2008 )

There is an extra space after the "2008". Why is that, and what can I
do about it?
martin [ Mo, 31 März 2008 19:35 ] [ ID #1931780 ]
PHP » comp.lang.php » Backtick call appends extra space

Vorheriges Thema: zend studio trial version cd
Nächstes Thema: Re: Mozilla browsers request a page twice