3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.7 ms | 1394 KiB | 15 Q