3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name = array('Tanner','Destiny','Tanner','Destiny','Tanner','Destiny','Tanner','Destiny'); for($i=0;$i<5;$i++){ echo "$name[$i] is a ".($i % 2 === 0)? "boy":"girl"; }
based on XZutq
Output for 4.3.0 - 7.3.0beta1
boyboyboyboyboy