Posted on 28th March 2014 by David Peach $name = in_array('pears', $fruits) ? 'Fruit Basket' : 'Schmoigal';