3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = TRUE; $bar = FALSE; $foo &= $bar; $foo = TRUE; $bar = FALSE; $foo = $foo && $bar; print $foo;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/SsBXP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <true>
    6     1        ASSIGN                                                   !1, <false>
    8     2        ASSIGN_OP                                    10          !0, !1
   10     3        ASSIGN                                                   !0, <true>
   11     4        ASSIGN                                                   !1, <false>
   13     5      > JMPZ_EX                                          ~7      !0, ->7
          6    >   BOOL                                             ~7      !1
          7    >   ASSIGN                                                   !0, ~7
   14     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.72 ms | 1392 KiB | 13 Q