3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "http://www.grasim.com"; foreach (hash_algos() as $v) { $r = hash($v, $data, false); printf("%-12s %3d %s\n", $v, strlen($r), $r); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 19
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 19
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/pjSbo
function name:  (null)
number of ops:  21
compiled vars:  !0 = $data, !1 = $v, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.grasim.com'
    4     1        INIT_FCALL                                               'hash_algos'
          2        DO_ICALL                                         $4      
          3      > FE_RESET_R                                       $5      $4, ->19
          4    > > FE_FETCH_R                                               $5, !1, ->19
    5     5    >   INIT_FCALL                                               'hash'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <false>
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    6    11        INIT_FCALL                                               'printf'
         12        SEND_VAL                                                 '%25-12s+%253d+%25s%0A'
         13        SEND_VAR                                                 !1
         14        STRLEN                                           ~8      !2
         15        SEND_VAL                                                 ~8
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
    4    18      > JMP                                                      ->4
         19    >   FE_FREE                                                  $5
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.07 ms | 1395 KiB | 19 Q