3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("orange", "apple", "grape"); $array2 = array("peach", "orange", "plumb"); $array3 = array("lemon", 342); $newArray = array_merge($array1, $array2, $array3); foreach ($newArray as $key => $value) { echo "$key - <strong>$value</strong> <br />"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 18
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/UXgCv
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array1, !1 = $array2, !2 = $array3, !3 = $newArray, !4 = $value, !5 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $9      
          8        ASSIGN                                                   !3, $9
    7     9      > FE_RESET_R                                       $11     !3, ->18
         10    > > FE_FETCH_R                                       ~12     $11, !4, ->18
         11    >   ASSIGN                                                   !5, ~12
    8    12        ROPE_INIT                                     4  ~15     !5
         13        ROPE_ADD                                      1  ~15     ~15, '+-+%3Cstrong%3E'
         14        ROPE_ADD                                      2  ~15     ~15, !4
         15        ROPE_END                                      3  ~14     ~15, '%3C%2Fstrong%3E+%3Cbr+%2F%3E'
         16        ECHO                                                     ~14
    7    17      > JMP                                                      ->10
         18    >   FE_FREE                                                  $11
   10    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.2 ms | 1386 KiB | 15 Q