3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.95 ms | 1386 KiB | 15 Q