3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(array("Tom","Jones"), array("Mary","Perkins")); //old foreach ($array as $arr){ list($fname,$lname) = $arr; echo $fname,' ',$lname,'<BR>',"\n"; } //new /*foreach($array as list($fname,$lname)){ echo $fname,' ',$lname,'<BR>',"\n"; }*/
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 15
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/330fN
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $arr, !2 = $fname, !3 = $lname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    6     1      > FE_RESET_R                                       $5      !0, ->15
          2    > > FE_FETCH_R                                               $5, !1, ->15
    7     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
    8     9        ECHO                                                     !2
         10        ECHO                                                     '+'
         11        ECHO                                                     !3
         12        ECHO                                                     '%3CBR%3E'
         13        ECHO                                                     '%0A'
    6    14      > JMP                                                      ->2
         15    >   FE_FREE                                                  $5
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.11 ms | 1394 KiB | 13 Q