3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("te","1","we","no","1","sdfsdf","Resolved",'1');//old data $array2 = array("another","0","we","yes","0","sdfsdf","Unresolved",'0'); //new updated data $newArray = array(); foreach($array2 as $k=>$v){ foreach($array1 as $ke=>$va){ echo $va; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 13
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 11
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/0ggDZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array1, !1 = $array2, !2 = $newArray, !3 = $v, !4 = $k, !5 = $va, !6 = $ke
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3      > FE_RESET_R                                       $10     !1, ->13
          4    > > FE_FETCH_R                                       ~11     $10, !3, ->13
          5    >   ASSIGN                                                   !4, ~11
    7     6      > FE_RESET_R                                       $13     !0, ->11
          7    > > FE_FETCH_R                                       ~14     $13, !5, ->11
          8    >   ASSIGN                                                   !6, ~14
    8     9        ECHO                                                     !5
    7    10      > JMP                                                      ->7
         11    >   FE_FREE                                                  $13
    6    12      > JMP                                                      ->4
         13    >   FE_FREE                                                  $10
   10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.66 ms | 1385 KiB | 13 Q