[ create a new paste ] login | about

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

PHP, pasted on Mar 26:
1
2
3
4
5
6
7
8
9
<?php
$a = true;
$b = true;
$c = true;

if(!($a || $b || $c)){ }
elseif($a){ print 'a'; }
elseif($b){ print 'b'; }
elseif($c){ print 'c'; }


Output:
1
a


Create a new paste based on this one


Comments: