3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = array('first' => '1', 0 => 0, 2 => 2); list($one, $two, $three) = $f; var_export(array($one, $two, $three));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pEtZP
function name:  (null)
number of ops:  16
compiled vars:  !0 = $f, !1 = $one, !2 = $two, !3 = $three
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_export'
         10        INIT_ARRAY                                       ~12     !1
         11        ADD_ARRAY_ELEMENT                                ~12     !2
         12        ADD_ARRAY_ELEMENT                                ~12     !3
         13        SEND_VAL                                                 ~12
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.2 ms | 1394 KiB | 15 Q