3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $status = 0; $checked = $status == 0 ? '' : 'checked'; echo "<td><input class=\"box\" type=\"checkbox\"" . $checked ."></td>";
based on 7PQql
Output for 4.3.0 - 7.2.0
<td><input class="box" type="checkbox"></td>