3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array('abc','def','ghi'); list($x,$y,$z) = $a; var_dump($x,y,z);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X6Ceg
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $x, !2 = $y, !3 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     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
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        FETCH_CONSTANT                                   ~12     'y'
         12        SEND_VAL                                                 ~12
         13        FETCH_CONSTANT                                   ~13     'z'
         14        SEND_VAL                                                 ~13
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.03 ms | 1394 KiB | 15 Q