3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.13 ms | 1398 KiB | 17 Q