3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.49 ms | 1386 KiB | 15 Q