3v4l.org

run code in 300+ PHP versions simultaneously
<?php const F = 1; const D = 2; echo F | D;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dIakO
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', 1
    3     1        DECLARE_CONST                                            'D', 2
    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:
150.41 ms | 1396 KiB | 13 Q