3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1384 KiB | 13 Q