3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(); for($i=0; $i<10000; $i++){ } $end = microtime(); echo $end-$start;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 5
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 5
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/BrXXj
function name:  (null)
number of ops:  14
compiled vars:  !0 = $start, !1 = $i, !2 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    3     3        ASSIGN                                                   !1, 0
          4      > JMP                                                      ->6
          5    >   PRE_INC                                                  !1
          6    >   IS_SMALLER                                               !1, 10000
          7      > JMPNZ                                                    ~7, ->5
    6     8    >   INIT_FCALL                                               'microtime'
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !2, $8
    7    11        SUB                                              ~10     !2, !0
         12        ECHO                                                     ~10
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.14 ms | 1394 KiB | 15 Q