3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array(3,4,5); $b=&$a; $b[0]=5; xdebug_debug_zval($a); print $b; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7RJgD
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_REF                                               !1, !0
    4     2        ASSIGN_DIM                                               !1, 0
          3        OP_DATA                                                  5
    5     4        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
    6     7        ECHO                                                     !1
    7     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.61 ms | 1397 KiB | 13 Q