3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name= array("1", "2", "3"); $say= array("one", "two", "three"); foreach ($name as $v) { $nm= $v; $show = array(); foreach($say as $value) $show[] = $nm.'='.$value; $show = implode("<br>",$show); echo $show; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 21
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 21
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 13
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/5emhJ
function name:  (null)
number of ops:  23
compiled vars:  !0 = $name, !1 = $say, !2 = $v, !3 = $nm, !4 = $show, !5 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2      > FE_RESET_R                                       $8      !0, ->21
          3    > > FE_FETCH_R                                               $8, !2, ->21
    5     4    >   ASSIGN                                                   !3, !2
    6     5        ASSIGN                                                   !4, <array>
    7     6      > FE_RESET_R                                       $11     !1, ->13
          7    > > FE_FETCH_R                                               $11, !5, ->13
    8     8    >   CONCAT                                           ~13     !3, '%3D'
          9        CONCAT                                           ~14     ~13, !5
         10        ASSIGN_DIM                                               !4
         11        OP_DATA                                                  ~14
    7    12      > JMP                                                      ->7
         13    >   FE_FREE                                                  $11
    9    14        INIT_FCALL                                               'implode'
         15        SEND_VAL                                                 '%3Cbr%3E'
         16        SEND_VAR                                                 !4
         17        DO_ICALL                                         $15     
         18        ASSIGN                                                   !4, $15
   10    19        ECHO                                                     !4
    4    20      > JMP                                                      ->3
         21    >   FE_FREE                                                  $8
   11    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.61 ms | 940 KiB | 16 Q