3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 7, 'salt' => 'BCryptRequires22Chrcts', ]; $hash['hash'][] = password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options); $hash['hash'][] = password_hash("rasmuslerdorf", PASSWORD_DEFAULT); $hash['info'][] = password_get_info($hash['hash'][0]); $hash['info'][] = password_get_info($hash['hash'][1]); var_dump($hash);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V3HON
function name:  (null)
number of ops:  36
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_hash'
          2        SEND_VAL                                                 'rasmuslerdorf'
          3        SEND_VAL                                                 '2y'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        FETCH_DIM_W                                      $3      !1, 'hash'
          7        ASSIGN_DIM                                               $3
          8        OP_DATA                                                  $5
    8     9        INIT_FCALL                                               'password_hash'
         10        SEND_VAL                                                 'rasmuslerdorf'
         11        SEND_VAL                                                 '2y'
         12        DO_ICALL                                         $8      
         13        FETCH_DIM_W                                      $6      !1, 'hash'
         14        ASSIGN_DIM                                               $6
         15        OP_DATA                                                  $8
   10    16        INIT_FCALL                                               'password_get_info'
         17        FETCH_DIM_R                                      ~11     !1, 'hash'
         18        FETCH_DIM_R                                      ~12     ~11, 0
         19        SEND_VAL                                                 ~12
         20        DO_ICALL                                         $13     
         21        FETCH_DIM_W                                      $9      !1, 'info'
         22        ASSIGN_DIM                                               $9
         23        OP_DATA                                                  $13
   11    24        INIT_FCALL                                               'password_get_info'
         25        FETCH_DIM_R                                      ~16     !1, 'hash'
         26        FETCH_DIM_R                                      ~17     ~16, 1
         27        SEND_VAL                                                 ~17
         28        DO_ICALL                                         $18     
         29        FETCH_DIM_W                                      $14     !1, 'info'
         30        ASSIGN_DIM                                               $14
         31        OP_DATA                                                  $18
   13    32        INIT_FCALL                                               'var_dump'
         33        SEND_VAR                                                 !1
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.39 ms | 1396 KiB | 19 Q