3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); ob_start(); $t = microtime(true); while($i < 1000) { ++$i; } $tmp = microtime(true) - $t; ob_end_clean(); echo round($tmp, 6) . "\n"; ob_start(); $t = microtime(true); while($i < 1000) { ++$i; } $tmp = microtime(true) - $t; ob_end_clean(); echo round($tmp, 6) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 10
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 33
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 33
Branch analysis from position: 36
Branch analysis from position: 33
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 10
Branch analysis from position: 13
Branch analysis from position: 10
filename:       /in/FUVtc
function name:  (null)
number of ops:  50
compiled vars:  !0 = $t, !1 = $i, !2 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    7     3        INIT_FCALL                                               'ob_start'
          4        DO_ICALL                                                 
    8     5        INIT_FCALL                                               'microtime'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !0, $5
    9     9      > JMP                                                      ->11
   12    10    >   PRE_INC                                                  !1
    9    11    >   IS_SMALLER                                               !1, 1000
         12      > JMPNZ                                                    ~8, ->10
   14    13    >   INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $9      
         16        SUB                                              ~10     $9, !0
         17        ASSIGN                                                   !2, ~10
   15    18        INIT_FCALL                                               'ob_end_clean'
         19        DO_ICALL                                                 
   16    20        INIT_FCALL                                               'round'
         21        SEND_VAR                                                 !2
         22        SEND_VAL                                                 6
         23        DO_ICALL                                         $13     
         24        CONCAT                                           ~14     $13, '%0A'
         25        ECHO                                                     ~14
   17    26        INIT_FCALL                                               'ob_start'
         27        DO_ICALL                                                 
   18    28        INIT_FCALL                                               'microtime'
         29        SEND_VAL                                                 <true>
         30        DO_ICALL                                         $16     
         31        ASSIGN                                                   !0, $16
   19    32      > JMP                                                      ->34
   23    33    >   PRE_INC                                                  !1
   19    34    >   IS_SMALLER                                               !1, 1000
         35      > JMPNZ                                                    ~19, ->33
   25    36    >   INIT_FCALL                                               'microtime'
         37        SEND_VAL                                                 <true>
         38        DO_ICALL                                         $20     
         39        SUB                                              ~21     $20, !0
         40        ASSIGN                                                   !2, ~21
   26    41        INIT_FCALL                                               'ob_end_clean'
         42        DO_ICALL                                                 
   27    43        INIT_FCALL                                               'round'
         44        SEND_VAR                                                 !2
         45        SEND_VAL                                                 6
         46        DO_ICALL                                         $24     
         47        CONCAT                                           ~25     $24, '%0A'
         48        ECHO                                                     ~25
         49      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.26 ms | 1404 KiB | 23 Q