3v4l.org

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