function display($i){
echo $i;
echo '<hr>';
   $i=$i-2;
   if($i>0){
     display($i);
   }
    echo $i;
    echo '<hr>';
 //这里去掉这里你又输出了一遍
}