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.$b.$c.$d.$e; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 20
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 20
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/puHDe
function name:  (null)
number of ops:  22
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, ->20
          2    > > FE_FETCH_R                                               $7, $8, ->20
          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        CONCAT                                           ~19     !1, !2
         15        CONCAT                                           ~20     ~19, !3
         16        CONCAT                                           ~21     ~20, !4
         17        CONCAT                                           ~22     ~21, !5
         18        ECHO                                                     ~22
    3    19      > JMP                                                      ->2
         20    >   FE_FREE                                                  $7
    5    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.84 ms | 1394 KiB | 13 Q