3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.28 ms | 1395 KiB | 19 Q