<?php $something = true; $foo = array(); isset($something) ? $foo[] = 'yes' : null; print_r($foo);
You have javascript disabled. You will not be able to edit any code.