3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.48 ms | 1394 KiB | 15 Q