3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.73 ms | 1394 KiB | 17 Q