3v4l.org

run code in 300+ PHP versions simultaneously
<?php const F = 5; const D = 1; echo F | D;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GckXE
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'F', 5
    3     1        DECLARE_CONST                                            'D', 1
    5     2        FETCH_CONSTANT                                   ~0      'F'
          3        FETCH_CONSTANT                                   ~1      'D'
          4        BW_OR                                            ~2      ~0, ~1
          5        ECHO                                                     ~2
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1392 KiB | 13 Q