3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; ['foo' => $i, 'bar' => $j, 'baz' => $k] = $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/arLpC
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $i, !2 = $j, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        QM_ASSIGN                                        ~5      !0
          2        FETCH_LIST_R                                     $6      ~5, 'foo'
          3        ASSIGN                                                   !1, $6
          4        FETCH_LIST_R                                     $8      ~5, 'bar'
          5        ASSIGN                                                   !2, $8
          6        FETCH_LIST_R                                     $10     ~5, 'baz'
          7        ASSIGN                                                   !3, $10
          8        FREE                                                     ~5
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.85 ms | 1396 KiB | 13 Q