3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( //DO NOT ADD A CUSTOM SALT! I WILL SLAP YOU CRAZY! 'cost' => 11 ); echo password_hash("welkom02", PASSWORD_DEFAULT, $options); if (CRYPT_SHA256 == 1) { echo 'SHA-256: ' . crypt('welkom02', '$5$rounds=5000$usesomesillystringforsalt$') . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/YQEJl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'password_hash'
          2        SEND_VAL                                                 'welkom02'
          3        SEND_VAL                                                 '2y'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
   11     7      > JMPZ                                                     <true>, ->15
   12     8    >   INIT_FCALL                                               'crypt'
          9        SEND_VAL                                                 'welkom02'
         10        SEND_VAL                                                 '%245%24rounds%3D5000%24usesomesillystringforsalt%24'
         11        DO_ICALL                                         $3      
         12        CONCAT                                           ~4      'SHA-256%3A++++++', $3
         13        CONCAT                                           ~5      ~4, '%0A'
         14        ECHO                                                     ~5
   13    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.94 ms | 1394 KiB | 17 Q