3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sel_subject['visible']=1;?> <input type="radio" name="visible" value="1" checked="<?=$sel_subject['visible'] == 1?'checked':''?>">
Output for 5.4.0 - 7.1.0
<input type="radio" name="visible" value="1" checked="checked">
Output for 4.3.0 - 5.3.29
<input type="radio" name="visible" value="1" checked="<?=$sel_subject['visible'] == 1?'checked':''?>">