3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($a == 5){ echo "a equals 5"; echo "..."; }elseif ($a == 6){ echo "a equals 6"; echo "!!!"; }else{ echo "a is neither 5 nor 6"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WmAiu
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   IS_EQUAL                                                 !0, 5
          1      > JMPZ                                                     ~1, ->5
    3     2    >   ECHO                                                     'a+equals+5'
    4     3        ECHO                                                     '...'
          4      > JMP                                                      ->11
    5     5    >   IS_EQUAL                                                 !0, 6
          6      > JMPZ                                                     ~2, ->10
    6     7    >   ECHO                                                     'a+equals+6'
    7     8        ECHO                                                     '%21%21%21'
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'a+is+neither+5+nor+6'
   11    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.63 ms | 1384 KiB | 13 Q