3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "array(1=>'a1', 2=>'a2', 3=>'a3', 4=>'a4', 5=>'a5');"; $array = eval($str); echo $array[1]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uOL7Q
function name:  (null)
number of ops:  6
compiled vars:  !0 = $str, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'array%281%3D%3E%27a1%27%2C+2%3D%3E%27a2%27%2C+3%3D%3E%27a3%27%2C+4%3D%3E%27a4%27%2C+5%3D%3E%27a5%27%29%3B'
    5     1        INCLUDE_OR_EVAL                                  $3      !0, EVAL
          2        ASSIGN                                                   !1, $3
    7     3        FETCH_DIM_R                                      ~5      !1, 1
          4        ECHO                                                     ~5
    9     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.08 ms | 1392 KiB | 13 Q