3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0; $b=1; $c=2; if($a == 0 && ($b==3 || $c == 2)){print_r("ciao");}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 9
Branch analysis from position: 10
filename:       /in/hKpDm
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 2
    5     3        IS_EQUAL                                         ~6      !0, 0
          4      > JMPZ_EX                                          ~6      ~6, ->10
          5    >   IS_EQUAL                                         ~7      !1, 3
          6      > JMPNZ_EX                                         ~7      ~7, ->9
          7    >   IS_EQUAL                                         ~8      !2, 2
          8        BOOL                                             ~7      ~8
          9    >   BOOL                                             ~6      ~7
         10    > > JMPZ                                                     ~6, ->14
         11    >   INIT_FCALL                                               'print_r'
         12        SEND_VAL                                                 'ciao'
         13        DO_ICALL                                                 
         14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.78 ms | 1394 KiB | 15 Q