<?php $a = true; $b = false; $c = true; $d = [ ($a ? "a":null), ($b ? "b":null), ($c ? "c":null), ]; var_dump($d);
You have javascript disabled. You will not be able to edit any code.