3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.79 ms | 1439 KiB | 13 Q