3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opcii = [ 'cost' => 12, 'salt' => mcrypt_create_iv(22, MCRYPT_DEV_URANDOM), ]; $password = password_hash('lozinka', PASSWORD_DEFAULT, $opcii); echo $password;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dK4s6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $opcii, !1 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_ARRAY                                       ~2      12, 'cost'
    5     1        INIT_FCALL_BY_NAME                                       'mcrypt_create_iv'
          2        SEND_VAL_EX                                              22
          3        FETCH_CONSTANT                                   ~3      'MCRYPT_DEV_URANDOM'
          4        SEND_VAL_EX                                              ~3
          5        DO_FCALL                                      0  $4      
          6        ADD_ARRAY_ELEMENT                                ~2      $4, 'salt'
    3     7        ASSIGN                                                   !0, ~2
    8     8        INIT_FCALL                                               'password_hash'
          9        SEND_VAL                                                 'lozinka'
         10        SEND_VAL                                                 '2y'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    9    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.3 ms | 1394 KiB | 15 Q