3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age = array(); $age['Peter']="35"; $age['Ben']="37"; $age['Joe']="43"; echo $age['Peter'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E5qZj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $age
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'Peter'
          2        OP_DATA                                                  '35'
    4     3        ASSIGN_DIM                                               !0, 'Ben'
          4        OP_DATA                                                  '37'
    5     5        ASSIGN_DIM                                               !0, 'Joe'
          6        OP_DATA                                                  '43'
    7     7        FETCH_DIM_R                                      ~5      !0, 'Peter'
          8        ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.28 ms | 1392 KiB | 13 Q