3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.52 ms | 938 KiB | 14 Q