3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $info_course = "yes"; if ( $my_name == "yes" ) {echo '<i class="icon-ok"></i>';} if ( $my_name == "no" ) {echo '<i class="icon-remove"></i>';} ?>
based on YHBQQ
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: my_name in /in/i6c2B on line 4 Notice: Undefined variable: my_name in /in/i6c2B on line 6
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: my_name in /in/i6c2B on line 4 Notice: Undefined variable: my_name in /in/i6c2B on line 6