3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y='0123456789'; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); if(password_verify($y,'$2y$12$xhNh4bvaZHSB9WxhReUdl.rrlVb1vx3UrnpT0B8VziIjD1Lpm102O')){ echo 'si'; } echo $y;
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/HonGl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $y, !1 = $opciones
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0123456789'
    3     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'password_hash'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '2y'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    7     8        INIT_FCALL                                               'password_verify'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '%242y%2412%24xhNh4bvaZHSB9WxhReUdl.rrlVb1vx3UrnpT0B8VziIjD1Lpm102O'
         11        DO_ICALL                                         $6      
         12      > JMPZ                                                     $6, ->14
    8    13    >   ECHO                                                     'si'
   10    14    >   ECHO                                                     !0
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.53 ms | 1394 KiB | 17 Q