fork download
  1. <?php
  2.  
  3. $sumCredit=6000
  4. if($sumCredit >= 5000){
  5. $pay=5000;
  6. }
  7. else{
  8. $pay=$sumCredit;
  9. }
  10. echo$pay;
  11. ?>
Runtime error #stdin #stdout #stderr 0.02s 82880KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected 'if' (T_IF) in /home/yGMZ6F/prog.php on line 4