3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tstart = microtime(true); for($x=1; $x<=10000000; ++$x) { } $tstop = microtime(true); print $tstop - $tstart; print" < "; $tstart1 = microtime(true); for($x=1; $x<=10000000; $x++) { } $tstop1 = microtime(true); print $tstop1 - $tstart1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 6
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 22
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 22
Branch analysis from position: 25
Branch analysis from position: 22
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 6
Branch analysis from position: 9
Branch analysis from position: 6
filename:       /in/5P9Mf
function name:  (null)
number of ops:  32
compiled vars:  !0 = $tstart, !1 = $x, !2 = $tstop, !3 = $tstart1, !4 = $tstop1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    3     4        ASSIGN                                                   !1, 1
          5      > JMP                                                      ->7
          6    >   PRE_INC                                                  !1
          7    >   IS_SMALLER_OR_EQUAL                                      !1, 10000000
          8      > JMPNZ                                                    ~9, ->6
    5     9    >   INIT_FCALL                                               'microtime'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !2, $10
    6    13        SUB                                              ~12     !2, !0
         14        ECHO                                                     ~12
    7    15        ECHO                                                     '+%3C+'
    8    16        INIT_FCALL                                               'microtime'
         17        SEND_VAL                                                 <true>
         18        DO_ICALL                                         $13     
         19        ASSIGN                                                   !3, $13
    9    20        ASSIGN                                                   !1, 1
         21      > JMP                                                      ->23
         22    >   PRE_INC                                                  !1
         23    >   IS_SMALLER_OR_EQUAL                                      !1, 10000000
         24      > JMPNZ                                                    ~17, ->22
   11    25    >   INIT_FCALL                                               'microtime'
         26        SEND_VAL                                                 <true>
         27        DO_ICALL                                         $18     
         28        ASSIGN                                                   !4, $18
   12    29        SUB                                              ~20     !4, !3
         30        ECHO                                                     ~20
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.25 ms | 1396 KiB | 15 Q