3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time=microtime(1); for ($i=0;$i<100000;$i++) hash('adler32', 'string'); echo microtime(1)-$time,': hash/adler32'."\n";
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 = 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/d3YQg
function name:  (null)
number of ops:  20
compiled vars:  !0 = $time, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->11
    5     6    >   INIT_FCALL                                               'hash'
          7        SEND_VAL                                                 'adler32'
          8        SEND_VAL                                                 'string'
          9        DO_ICALL                                                 
    4    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 100000
         12      > JMPNZ                                                    ~7, ->6
    6    13    >   INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 1
         15        DO_ICALL                                         $8      
         16        SUB                                              ~9      $8, !0
         17        ECHO                                                     ~9
         18        ECHO                                                     '%3A+hash%2Fadler32%0A'
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.42 ms | 1395 KiB | 17 Q