3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.58 ms | 1394 KiB | 15 Q