3v4l.org

run code in 300+ PHP versions simultaneously
$info_course = yes; if [$info_course[0] == "yes"]; then echo "<i class="icon-ok"></i>" ; ?> <?php if($info_course[0] == "no"); ?> then echo "<i class="icon-remove"></i>" ; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 4
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/OtLVM
function name:  (null)
number of ops:  6
compiled vars:  !0 = $info_course
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%24info_course++%3D+yes%3B%09%09%09%09%09%09%09%09%09%09%09%0A%0Aif+%5B%24info_course%5B0%5D+%3D%3D+%22yes%22%5D%3B+%0Athen+echo+%22%3Ci+class%3D%22icon-ok%22%3E%3C%2Fi%3E%22+%3B+%3F%3E%0A%0A'
    6     1        FETCH_DIM_R                                      ~1      !0, 0
          2        IS_EQUAL                                                 ~1, 'no'
          3      > JMPZ                                                     ~2, ->4
    7     4    >   ECHO                                                     'then+echo+%22%3Ci+class%3D%22icon-remove%22%3E%3C%2Fi%3E%22+%3B+%09%0A%3F%3E'
    8     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.18 ms | 1392 KiB | 13 Q