<?php $sumCredit=6000 if($sumCredit >= 5000){ $pay=5000; } else{ $pay=$sumCredit; }echo$pay;?>
Standard input is empty
Standard output is empty
PHP Parse error: syntax error, unexpected 'if' (T_IF) in /home/yGMZ6F/prog.php on line 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!