3v4l.org

run code in 300+ PHP versions simultaneously
<?php const SQL = 1; const RESULTS = 2; const COUNT = 4; var_dump(SQL | RESULTS); var_dump(SQL | COUNT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HsgC1
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'SQL', 1
    4     1        DECLARE_CONST                                            'RESULTS', 2
    5     2        DECLARE_CONST                                            'COUNT', 4
    7     3        INIT_FCALL                                               'var_dump'
          4        FETCH_CONSTANT                                   ~0      'SQL'
          5        FETCH_CONSTANT                                   ~1      'RESULTS'
          6        BW_OR                                            ~2      ~0, ~1
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
    8     9        INIT_FCALL                                               'var_dump'
         10        FETCH_CONSTANT                                   ~4      'SQL'
         11        FETCH_CONSTANT                                   ~5      'COUNT'
         12        BW_OR                                            ~6      ~4, ~5
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.37 ms | 1394 KiB | 15 Q