3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed; $verified = password_verify('mypass', $hashed); var_dump($verified);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gQ8bU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $hashed, !1 = $verified
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'password_hash'
          1        SEND_VAL                                                 'mypass'
          2        SEND_VAL                                                 '2y'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ECHO                                                     !0
    6     6        INIT_FCALL                                               'password_verify'
          7        SEND_VAL                                                 'mypass'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.21 ms | 939 KiB | 20 Q