3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.15 ms | 1395 KiB | 17 Q