3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wordlist = array('testing','testing','testing','testing','testing','testing','testing','testing','testing','testing','testing','testing'); $concatenated = ""; for($i = 0; $i == count($wordlist); $i++){ $concatenated .= $wordlist[i]; } echo $concatenated;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/B0u2q
function name:  (null)
number of ops:  13
compiled vars:  !0 = $wordlist, !1 = $concatenated, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, ''
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->8
    5     4    >   FETCH_CONSTANT                                   ~6      'i'
          5        FETCH_DIM_R                                      ~7      !0, ~6
          6        ASSIGN_OP                                     8          !1, ~7
    4     7        PRE_INC                                                  !2
          8    >   COUNT                                            ~10     !0
          9        IS_EQUAL                                                 !2, ~10
         10      > JMPNZ                                                    ~11, ->4
    8    11    >   ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.79 ms | 1393 KiB | 13 Q