3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = ""; $array = array("gerard"=>'GERARD',"and","ida"=>'IDA',"are","getting","married"); $array[] = "!!!"; foreach ($array as $arr) { $tmp .= " {$arr} "; } echo $tmp; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Ivv1o
function name:  (null)
number of ops:  14
compiled vars:  !0 = $tmp, !1 = $array, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN_DIM                                               !1
          3        OP_DATA                                                  '%21%21%21'
    5     4      > FE_RESET_R                                       $6      !1, ->11
          5    > > FE_FETCH_R                                               $6, !2, ->11
    7     6    >   ROPE_INIT                                     3  ~8      '+'
          7        ROPE_ADD                                      1  ~8      ~8, !2
          8        ROPE_END                                      2  ~7      ~8, '+'
          9        ASSIGN_OP                                     8          !0, ~7
    5    10      > JMP                                                      ->5
         11    >   FE_FREE                                                  $6
    9    12        ECHO                                                     !0
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.34 ms | 1393 KiB | 13 Q