3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.42 ms | 1393 KiB | 13 Q