3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.49 ms | 939 KiB | 16 Q