3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = sha512("password"); $hash = sha512("password"); if(password_verify($pass, $hash)) { echo("Verified."); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/Bf40J
function name:  (null)
number of ops:  15
compiled vars:  !0 = $pass, !1 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'sha512'
          1        SEND_VAL_EX                                              'password'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL_BY_NAME                                       'sha512'
          5        SEND_VAL_EX                                              'password'
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !1, $4
    4     8        INIT_FCALL                                               'password_verify'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12      > JMPZ                                                     $6, ->14
    5    13    >   ECHO                                                     'Verified.'
    6    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.21 ms | 1394 KiB | 15 Q