3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('foo' => 'bar'); xdebug_debug_zval($array); $copy = $array; xdebug_debug_zval($array); xdebug_debug_zval($copy); current($copy); xdebug_debug_zval($array); xdebug_debug_zval($copy);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7bLqQ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $array, !1 = $copy
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
    5     4        ASSIGN                                                   !1, !0
    6     5        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
    7     8        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          9        SEND_VAR_EX                                              !1
         10        DO_FCALL                                      0          
    8    11        INIT_FCALL                                               'current'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    9    14        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0          
   10    17        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
         18        SEND_VAR_EX                                              !1
         19        DO_FCALL                                      0          
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.1 ms | 1395 KiB | 15 Q