3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "This is Sparta !!!"; for ($i=0;$i<10000;$i++) { $exploded = explode(" ", $str); $str = join(" ", $exploded); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/ndGtY
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str, !1 = $i, !2 = $exploded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'This+is+Sparta+%21%21%21'
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->14
    4     3    >   INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '+'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    5     8        INIT_FCALL                                               'join'
          9        SEND_VAL                                                 '+'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !0, $7
    3    13        PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 10000
         15      > JMPNZ                                                    ~10, ->3
    6    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.57 ms | 1395 KiB | 17 Q