3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_verify('test123','$1$P6TGPgJc$S3p8.TNUAgfJpwX/TRmUQ0')); echo password_hash("test123", PASSWORD_BCRYPT, ['cost' => 2]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oDncY
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'password_verify'
          2        SEND_VAL                                                 'test123'
          3        SEND_VAL                                                 '%241%24P6TGPgJc%24S3p8.TNUAgfJpwX%2FTRmUQ0'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'password_hash'
          8        SEND_VAL                                                 'test123'
          9        SEND_VAL                                                 '2y'
         10        SEND_VAL                                                 <array>
         11        DO_ICALL                                         $2      
         12        ECHO                                                     $2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1394 KiB | 19 Q