3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 7, 'salt' => 'BCryptRequires22Chrcts', ]; $hash1 = password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options); $hash2 = password_hash("rasmuslerdorf", PASSWORD_DEFAULT); var_dump(password_get_info($hash1,$hash2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tShG7
function name:  (null)
number of ops:  20
compiled vars:  !0 = $options, !1 = $hash1, !2 = $hash2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'password_hash'
          2        SEND_VAL                                                 'rasmuslerdorf'
          3        SEND_VAL                                                 '2y'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    8     7        INIT_FCALL                                               'password_hash'
          8        SEND_VAL                                                 'rasmuslerdorf'
          9        SEND_VAL                                                 '2y'
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !2, $6
   10    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'password_get_info'
         14        SEND_VAR                                                 !1
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.48 ms | 1395 KiB | 19 Q