fork download
  1. <!--?php <br /-->function doFactorial ($x) {
  2. if ($x <= 1)
  3. return 1;
  4. else
  5. return ($x * doFactorial ($x-1));
  6. }
  7.  
  8. while($i<100)
  9. {
  10. print $i." --> ".(doFactorial ($i)) . "
  11. ";
  12. $i++;
  13. }
  14. ?>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:1:4: parse error on input `<!--?'
stdout
Standard output is empty