3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'GoemonLets5'; // パスワード $hash = password_hash($password, PASSWORD_BCRYPT, ['cost' => 11]); // パスワード、アルゴリズム、計算コストを設定 echo $hash; echo "\n"; var_dump(password_get_info($hash));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ncfCD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $password, !1 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'GoemonLets5'
    5     1        INIT_FCALL                                               'password_hash'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '2y'
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    6     7        ECHO                                                     !1
    7     8        ECHO                                                     '%0A'
    8     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'password_get_info'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.39 ms | 1394 KiB | 19 Q