3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.56 ms | 1395 KiB | 15 Q