3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash('yeah', PASSWORD_BCRYPT); $v1 = password_verify('yeah', '$2y$10$95kOr6nO.ycZjXn2bZsZKenexGyaquKQVMWWL6j/QdX1xvb5MmRri'); $v2 = password_verify('yeah', $hash); var_dump($hash, $v1, $v2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/75mcg
function name:  (null)
number of ops:  21
compiled vars:  !0 = $hash, !1 = $v1, !2 = $v2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'password_hash'
          1        SEND_VAL                                                 'yeah'
          2        SEND_VAL                                                 '2y'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'password_verify'
          6        SEND_VAL                                                 'yeah'
          7        SEND_VAL                                                 '%242y%2410%2495kOr6nO.ycZjXn2bZsZKenexGyaquKQVMWWL6j%2FQdX1xvb5MmRri'
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        INIT_FCALL                                               'password_verify'
         11        SEND_VAL                                                 'yeah'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $7      
         14        ASSIGN                                                   !2, $7
    6    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.36 ms | 1395 KiB | 19 Q