3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo microtime(true). PHP_EOL; foreach(hash_algos() as $v){ $start = microtime(true); echo hash_hmac($v, 'Наглый коричневый лисёнок прыгает вокруг ленивой собаки.', 'secret'); $end[$v] = microtime(true) - $start; } var_dump($end);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 26
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 26
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/smqST
function name:  (null)
number of ops:  31
compiled vars:  !0 = $v, !1 = $start, !2 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $3      
          3        CONCAT                                           ~4      $3, '%0A'
          4        ECHO                                                     ~4
    3     5        INIT_FCALL                                               'hash_algos'
          6        DO_ICALL                                         $5      
          7      > FE_RESET_R                                       $6      $5, ->26
          8    > > FE_FETCH_R                                               $6, !0, ->26
    4     9    >   INIT_FCALL                                               'microtime'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !1, $7
    5    13        INIT_FCALL                                               'hash_hmac'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 '%D0%9D%D0%B0%D0%B3%D0%BB%D1%8B%D0%B9+%D0%BA%D0%BE%D1%80%D0%B8%D1%87%D0%BD%D0%B5%D0%B2%D1%8B%D0%B9+%D0%BB%D0%B8%D1%81%D1%91%D0%BD%D0%BE%D0%BA+%D0%BF%D1%80%D1%8B%D0%B3%D0%B0%D0%B5%D1%82+%D0%B2%D0%BE%D0%BA%D1%80%D1%83%D0%B3+%D0%BB%D0%B5%D0%BD%D0%B8%D0%B2%D0%BE%D0%B9+%D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D0%B8.'
         16        SEND_VAL                                                 'secret'
         17        DO_ICALL                                         $9      
         18        ECHO                                                     $9
    6    19        INIT_FCALL                                               'microtime'
         20        SEND_VAL                                                 <true>
         21        DO_ICALL                                         $11     
         22        SUB                                              ~12     $11, !1
         23        ASSIGN_DIM                                               !2, !0
         24        OP_DATA                                                  ~12
    3    25      > JMP                                                      ->8
         26    >   FE_FREE                                                  $6
    8    27        INIT_FCALL                                               'var_dump'
         28        SEND_VAR                                                 !2
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.79 ms | 1396 KiB | 21 Q