3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.23 ms | 476 KiB | 8 Q