3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = md5('password'); $c = password_hash($b, PASSWORD_DEFAULT); //$la = crypt($c,'$2a$07$usesomesillystringforsalt$'); echo $c; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cXOqt
function name:  (null)
number of ops:  11
compiled vars:  !0 = $b, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'md5'
          1        SEND_VAL                                                 'password'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'password_hash'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '2y'
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    9     9        ECHO                                                     !1
   10    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.72 ms | 1394 KiB | 17 Q