3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array('Foo', 'Bar'), array('Baz', 'Qux'), ); foreach($arr as $row) { //var_dump($row); list($key, $value) = $row; echo $key .' -> '. $value .'\n'; } foreach ($arr as list($key, $value)) { echo $key .' -> '. $value .'\r'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 14
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 27
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 27
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 14
filename:       /in/EAD88
function name:  (null)
number of ops:  29
compiled vars:  !0 = $arr, !1 = $row, !2 = $key, !3 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1      > FE_RESET_R                                       $5      !0, ->14
          2    > > FE_FETCH_R                                               $5, !1, ->14
   10     3    >   QM_ASSIGN                                        ~6      !1
          4        FETCH_LIST_R                                     $7      ~6, 0
          5        ASSIGN                                                   !2, $7
          6        FETCH_LIST_R                                     $9      ~6, 1
          7        ASSIGN                                                   !3, $9
          8        FREE                                                     ~6
   11     9        CONCAT                                           ~11     !2, '+-%3E+'
         10        CONCAT                                           ~12     ~11, !3
         11        CONCAT                                           ~13     ~12, '%5Cn'
         12        ECHO                                                     ~13
    8    13      > JMP                                                      ->2
         14    >   FE_FREE                                                  $5
   14    15      > FE_RESET_R                                       $14     !0, ->27
         16    > > FE_FETCH_R                                               $14, $15, ->27
         17    >   FETCH_LIST_R                                     $16     $15, 0
         18        ASSIGN                                                   !2, $16
         19        FETCH_LIST_R                                     $18     $15, 1
         20        ASSIGN                                                   !3, $18
         21        FREE                                                     $15
   15    22        CONCAT                                           ~20     !2, '+-%3E+'
         23        CONCAT                                           ~21     ~20, !3
         24        CONCAT                                           ~22     ~21, '%5Cr'
         25        ECHO                                                     ~22
   14    26      > JMP                                                      ->16
         27    >   FE_FREE                                                  $14
   16    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.38 ms | 1395 KiB | 13 Q