3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo ( '1' == $_GET['data'] )? 'selected' : 'selectednot' ;
Output for 5.3.0 - 7.1.0
Notice: Undefined index: data in /in/SIZp0 on line 3 selectednot
Output for 4.3.0 - 5.2.17
Notice: Undefined index: data in /in/SIZp0 on line 3 selectednot