3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); $time = microtime(1); $i = 0; while($i++ < 100000) echo'<td>','answers','answerLong','</td>'; ob_end_clean(); echo (microtime(1)-$time)." seconds for commas"; echo "\n"; ob_start(); $time = microtime(1); $i = 0; while($i++ < 100000) echo'<td>'.'answers'.'answerLong'.'</td>'; ob_end_clean(); echo (microtime(1)-$time)." seconds for dot";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 8
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 32
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 32
Branch analysis from position: 36
Branch analysis from position: 32
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 8
Branch analysis from position: 15
Branch analysis from position: 8
filename:       /in/77vXR
function name:  (null)
number of ops:  45
compiled vars:  !0 = $time, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    4     2        INIT_FCALL                                               'microtime'
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    5     6        ASSIGN                                                   !1, 0
    6     7      > JMP                                                      ->12
          8    >   ECHO                                                     '%3Ctd%3E'
          9        ECHO                                                     'answers'
         10        ECHO                                                     'answerLong'
         11        ECHO                                                     '%3C%2Ftd%3E'
         12    >   POST_INC                                         ~6      !1
         13        IS_SMALLER                                               ~6, 100000
         14      > JMPNZ                                                    ~7, ->8
    7    15    >   INIT_FCALL                                               'ob_end_clean'
         16        DO_ICALL                                                 
    8    17        INIT_FCALL                                               'microtime'
         18        SEND_VAL                                                 1
         19        DO_ICALL                                         $9      
         20        SUB                                              ~10     $9, !0
         21        CONCAT                                           ~11     ~10, '+seconds+for+commas'
         22        ECHO                                                     ~11
   10    23        ECHO                                                     '%0A'
   12    24        INIT_FCALL                                               'ob_start'
         25        DO_ICALL                                                 
   13    26        INIT_FCALL                                               'microtime'
         27        SEND_VAL                                                 1
         28        DO_ICALL                                         $13     
         29        ASSIGN                                                   !0, $13
   14    30        ASSIGN                                                   !1, 0
   15    31      > JMP                                                      ->33
         32    >   ECHO                                                     '%3Ctd%3EanswersanswerLong%3C%2Ftd%3E'
         33    >   POST_INC                                         ~16     !1
         34        IS_SMALLER                                               ~16, 100000
         35      > JMPNZ                                                    ~17, ->32
   16    36    >   INIT_FCALL                                               'ob_end_clean'
         37        DO_ICALL                                                 
   17    38        INIT_FCALL                                               'microtime'
         39        SEND_VAL                                                 1
         40        DO_ICALL                                         $19     
         41        SUB                                              ~20     $19, !0
         42        CONCAT                                           ~21     ~20, '+seconds+for+dot'
         43        ECHO                                                     ~21
         44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.72 ms | 1400 KiB | 19 Q