3v4l.org

run code in 300+ PHP versions simultaneously
<?php $flags = 0; $flags |= 0x02; var_dump(($flags & 0x02) && !($flags & 0x02));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/sm6q5
function name:  (null)
number of ops:  11
compiled vars:  !0 = $flags
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN_OP                                     9          !0, 2
    6     2        INIT_FCALL                                               'var_dump'
          3        BW_AND                                           ~3      !0, 2
          4      > JMPZ_EX                                          ~3      ~3, ->8
          5    >   BW_AND                                           ~4      !0, 2
          6        BOOL_NOT                                         ~5      ~4
          7        BOOL                                             ~3      ~5
          8    >   SEND_VAL                                                 ~3
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.17 ms | 1394 KiB | 15 Q