3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.02 ms | 1010 KiB | 15 Q