3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $start = microtime(true); while (true) { $i++; if ($i == 1000000) break; } echo "Done: " . (microtime(true) - $start) . "<br/>\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 10
filename:       /in/8oGLd
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $start
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    5     5      > JMP                                                      ->10
    6     6    >   PRE_INC                                                  !0
    7     7        IS_EQUAL                                                 !0, 1000000
          8      > JMPZ                                                     ~6, ->10
          9    > > JMP                                                      ->11
    5    10    > > JMPNZ                                                    <true>, ->6
    9    11    >   INIT_FCALL                                               'microtime'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $7      
         14        SUB                                              ~8      $7, !1
         15        CONCAT                                           ~9      'Done%3A+', ~8
         16        CONCAT                                           ~10     ~9, '%3Cbr%2F%3E%0A'
         17        ECHO                                                     ~10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.4 ms | 1395 KiB | 15 Q