3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Pas bon $data = 'Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0'; //$data = "hello"; 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/l27ig
function name:  (null)
number of ops:  21
compiled vars:  !0 = $data, !1 = $v, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Mozilla%2F5.0+%28X11%3B+Linux+x86_64%3B+rv%3A133.0%29+Gecko%2F20100101+Firefox%2F133.0'
    8     1        INIT_FCALL                                               'hash_algos'
          2        DO_ICALL                                         $4      
          3      > FE_RESET_R                                       $5      $4, ->19
          4    > > FE_FETCH_R                                               $5, !1, ->19
   10     5    >   INIT_FCALL                                               'hash'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <false>
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
   12    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                                                 
    8    18      > JMP                                                      ->4
         19    >   FE_FREE                                                  $5
   14    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.77 ms | 1012 KiB | 16 Q