3v4l.org

run code in 300+ PHP versions simultaneously
<?php $show1 = $f || $a; $show2 = $a; if ($show1) { // show 1 } if ($show2) { // show 2 }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 5
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
Branch analysis from position: 5
Branch analysis from position: 2
filename:       /in/gShL0
function name:  (null)
number of ops:  7
compiled vars:  !0 = $show1, !1 = $f, !2 = $a, !3 = $show2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPNZ_EX                                         ~4      !1, ->2
          1    >   BOOL                                             ~4      !2
          2    >   ASSIGN                                                   !0, ~4
    4     3        ASSIGN                                                   !3, !2
    6     4      > JMPZ                                                     !0, ->5
   10     5    > > JMPZ                                                     !3, ->6
   12     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.47 ms | 1397 KiB | 13 Q