3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const API_KEY = 'ABCD1234'; echo API_KEY + 'test'; echo API_KEY . 'test';
based on PiMuL
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bBHo2
function name:  (null)
number of ops:  8
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   DECLARE_CONST                                            'API_KEY', 'ABCD1234'
   5     1        FETCH_CONSTANT                                   ~0      'API_KEY'
         2        ADD                                              ~1      ~0, 'test'
         3        ECHO                                                     ~1
   6     4        FETCH_CONSTANT                                   ~2      'API_KEY'
         5        CONCAT                                           ~3      ~2, 'test'
         6        ECHO                                                     ~3
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0