3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo '<ul id="my-list" class="'.((true) ? 'classA' : 'classB').'">';
based on oY8o4
Output for 4.3.0 - 7.2.0
<ul id="my-list" class="classA">