3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.85 ms | 1398 KiB | 15 Q