3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.14 ms | 1394 KiB | 17 Q