3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
231.28 ms | 2947 KiB | 14 Q