<?php $x = 5;if ($x > 5) { print "Fruit"; }elseif ($x = 6) { print "Ice cream"; }elseif ($x < 6) { print "Vegetables"; }else { print "Diamond"; }?>
Standard input is empty
Ice cream
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!