3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(1,2,3); list($a,$b,$c) = $x; var_dump($a,$b,$c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0qmuZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x, !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        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !2
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.6 ms | 1394 KiB | 15 Q