3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass='test'; $hash = password_hash($pass, PASSWORD_DEFAULT); echo $hash; $hash = crypt ($pass); echo $hash; echo password_needs_rehash($hash, PASSWORD_DEFAULT); echo password_verify($pass, $hash);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/47mqf
function name:  (null)
number of ops:  23
compiled vars:  !0 = $pass, !1 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    3     1        INIT_FCALL                                               'password_hash'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '2y'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    4     6        ECHO                                                     !1
    5     7        INIT_FCALL                                               'crypt'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    6    11        ECHO                                                     !1
    7    12        INIT_FCALL                                               'password_needs_rehash'
         13        SEND_VAR                                                 !1
         14        SEND_VAL                                                 '2y'
         15        DO_ICALL                                         $7      
         16        ECHO                                                     $7
    8    17        INIT_FCALL                                               'password_verify'
         18        SEND_VAR                                                 !0
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                         $8      
         21        ECHO                                                     $8
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.5 ms | 943 KiB | 22 Q