PHP age calculater wrong age
<p>i've got an age calc script for PHP. But, it seems to work with some dates, i don't get why it wont work.</p>

<pre><code>function Agecalc($birthday) 
{

    list($day,$month,$year) = explode("/",$birthday);
    $day_diff   = date("d") - $day;
    $month_diff = date("m") - $month;
    $year_diff  = date("Y") - $year;
    if ($day_diff &lt; 0 || $month_diff &lt; 0)
        $year_diff--;
    return $year_diff;

}

echo Agecalc('19/2/1994');
</code></pre>

<p>This returns "17" when it should be 18?</p>
