3v4l.org

run code in 300+ PHP versions simultaneously
<?php $france = 'France'; $england = 'England'; $storage = array(); $storage['fr'] = &$france; $storage['en'] = &$england; $france = 'Angleterre'; print_r($storage);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AnA6G
function name:  (null)
number of ops:  12
compiled vars:  !0 = $france, !1 = $england, !2 = $storage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'France'
    4     1        ASSIGN                                                   !1, 'England'
    6     2        ASSIGN                                                   !2, <array>
    8     3        FETCH_DIM_W                                      $6      !2, 'fr'
          4        ASSIGN_REF                                               $6, !0
    9     5        FETCH_DIM_W                                      $8      !2, 'en'
          6        ASSIGN_REF                                               $8, !1
   11     7        ASSIGN                                                   !0, 'Angleterre'
   13     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.54 ms | 1398 KiB | 15 Q