3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.27 ms | 1394 KiB | 17 Q