<?phpecho "<br>Avec la méthode for <br>";$fact=8;for ($i=1; $i<8; $i++) { $fact=$fact*$i;}echo "$fact";?>