3v4l.org

run code in 300+ PHP versions simultaneously
<?php const EDU = 4; echo EDU; echo "\n"; $upp = [ 4,5,6,7,14,5]; print("Her EDU is ".$upp[EDU].".\n"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HIjio
function name:  (null)
number of ops:  11
compiled vars:  !0 = $upp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'EDU', 4
    3     1        FETCH_CONSTANT                                   ~1      'EDU'
          2        ECHO                                                     ~1
    4     3        ECHO                                                     '%0A'
    6     4        ASSIGN                                                   !0, <array>
    7     5        FETCH_CONSTANT                                   ~3      'EDU'
          6        FETCH_DIM_R                                      ~4      !0, ~3
          7        CONCAT                                           ~5      'Her+EDU+is+', ~4
          8        CONCAT                                           ~6      ~5, '.%0A'
          9        ECHO                                                     ~6
    8    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.4 ms | 1392 KiB | 13 Q