3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.76 ms | 1394 KiB | 15 Q