3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 7, 'salt' => 'BCryptRequires22Chrcts', ]; $hash[] = password_get_info(password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)); $hash[] = password_get_info(password_hash("rasmuslerdorf", PASSWORD_DEFAULT)); var_dump($hash);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K3PQK
function name:  (null)
number of ops:  24
compiled vars:  !0 = $options, !1 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'password_get_info'
          2        INIT_FCALL                                               'password_hash'
          3        SEND_VAL                                                 'rasmuslerdorf'
          4        SEND_VAL                                                 '2y'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9        ASSIGN_DIM                                               !1
         10        OP_DATA                                                  $5
    8    11        INIT_FCALL                                               'password_get_info'
         12        INIT_FCALL                                               'password_hash'
         13        SEND_VAL                                                 'rasmuslerdorf'
         14        SEND_VAL                                                 '2y'
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                         $8      
         18        ASSIGN_DIM                                               !1
         19        OP_DATA                                                  $8
   10    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.97 ms | 1395 KiB | 19 Q