3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(1 => "Hello"); var_dump($arr); $x = "arr"; echo $x(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y5SfZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    9     4        ASSIGN                                                   !1, 'arr'
   12     5        INIT_DYNAMIC_CALL                                        !1
          6        SEND_VAL_EX                                              1
          7        DO_FCALL                                      0  $5      
          8        ECHO                                                     $5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.33 ms | 1394 KiB | 15 Q