<?php$bar = false;$baz = 42;$boo = 'yes';$foo = $bar ? $bar : ($baz ? $baz : ($boo ? $boo : NULL));echo($foo);?>
Standard input is empty
42
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!