3v4l.org

run code in 500+ PHP versions simultaneously
<?php $h='$6$rounds=10$qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq/mPN8a.rE40'; $p='salasana'; $c=crypt($p,$h); echo "HASH: $h - CRYPT: $c\n"; if ($c == $h) { echo "MATCH OK\n"; } else { echo "NO MATCH\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WJPSl
function name:  (null)
number of ops:  19
compiled vars:  !0 = $h, !1 = $p, !2 = $c
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%246%24rounds%3D10%24qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq%2FmPN8a.rE40'
    3     1        ASSIGN                                                       !1, 'salasana'
    4     2        INIT_FCALL                                                   'crypt'
          3        SEND_VAR                                                     !1
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $5      
          6        ASSIGN                                                       !2, $5
    5     7        ROPE_INIT                                         5  ~8      'HASH%3A+'
          8        ROPE_ADD                                          1  ~8      ~8, !0
          9        ROPE_ADD                                          2  ~8      ~8, '+-+CRYPT%3A+'
         10        ROPE_ADD                                          3  ~8      ~8, !2
         11        ROPE_END                                          4  ~7      ~8, '%0A'
         12        ECHO                                                         ~7
    6    13        IS_EQUAL                                                     !2, !0
         14      > JMPZ                                                         ~11, ->17
    8    15    >   ECHO                                                         'MATCH+OK%0A'
    6    16      > JMP                                                          ->18
   12    17    >   ECHO                                                         'NO+MATCH%0A'
   13    18    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.46 ms | 2704 KiB | 14 Q