3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * In this case, we want to increase the default cost for BCRYPT to 12. * Note that we also switched to BCRYPT, which will always be 60 characters. */ $options = [ 'cost' => 14, ]; echo password_hash("password", PASSWORD_BCRYPT, $options)."\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CBZAr
function name:  (null)
number of ops:  9
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'password_hash'
          2        SEND_VAL                                                 'password'
          3        SEND_VAL                                                 '2y'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      $2, '%0A'
          7        ECHO                                                     ~3
   10     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.06 ms | 1385 KiB | 15 Q