3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr['one']=14; echo "Event happened ($arr{'one'}) days ago"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EpnFN
function name:  (null)
number of ops:  7
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'one'
          1        OP_DATA                                                  14
    3     2        ROPE_INIT                                     3  ~3      'Event+happened+%28'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%7B%27one%27%7D%29+days+ago'
          5        ECHO                                                     ~2
    4     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.4 ms | 1392 KiB | 13 Q