[ create a new paste ] login | about

Link: http://codepad.org/TgWpz9dF    [ raw code | output | fork ]

martin@mustbebuilt.co.uk - PHP, pasted on Sep 10:
1
2
3
4
5
<?php
$someVar = 20;
$otherVal = ($someVar > 5) ? 'Bigger than 5' : 'Some Default';
echo $otherVal;
?>


Output:
1
Bigger than 5


Create a new paste based on this one


Comments: