3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [1,2,3,4,5]; foreach($arr as list($a,$b,$c,$d,$e)){ echo $a; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 16
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/diFI2
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $a, !2 = $b, !3 = $c, !4 = $d, !5 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > FE_RESET_R                                       $7      !0, ->16
          2    > > FE_FETCH_R                                               $7, $8, ->16
          3    >   FETCH_LIST_R                                     $9      $8, 0
          4        ASSIGN                                                   !1, $9
          5        FETCH_LIST_R                                     $11     $8, 1
          6        ASSIGN                                                   !2, $11
          7        FETCH_LIST_R                                     $13     $8, 2
          8        ASSIGN                                                   !3, $13
          9        FETCH_LIST_R                                     $15     $8, 3
         10        ASSIGN                                                   !4, $15
         11        FETCH_LIST_R                                     $17     $8, 4
         12        ASSIGN                                                   !5, $17
         13        FREE                                                     $8
    4    14        ECHO                                                     !1
    3    15      > JMP                                                      ->2
         16    >   FE_FREE                                                  $7
    5    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.18 ms | 1393 KiB | 13 Q