3v4l.org

run code in 300+ PHP versions simultaneously
<?php $person = array( 'name' => 'John', 'age' => 24, 'locations' => Array ( 'Greenwhich' => Array ( 'New Eltham', 'Central Greenwhich' ), 'Feltham' ) ); echo $person['locations']['Greenwhich'][0]; echo '<pre>', print_r($person, true), '</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M2Z0T
function name:  (null)
number of ops:  13
compiled vars:  !0 = $person
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   16     1        FETCH_DIM_R                                      ~2      !0, 'locations'
          2        FETCH_DIM_R                                      ~3      ~2, 'Greenwhich'
          3        FETCH_DIM_R                                      ~4      ~3, 0
          4        ECHO                                                     ~4
   18     5        ECHO                                                     '%3Cpre%3E'
          6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11        ECHO                                                     '%3C%2Fpre%3E'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.54 ms | 1394 KiB | 15 Q