3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1394 KiB | 13 Q