3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT)."\n"; $options = array('cost' => 8); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 9); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 10); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 11); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 12); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 13); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n"; $options = array('cost' => 14); 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/ej83g
function name:  (null)
number of ops:  63
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     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
    5     6        ASSIGN                                                   !0, <array>
    6     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
    7    14        ASSIGN                                                   !0, <array>
    8    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
    9    22        ASSIGN                                                   !0, <array>
   10    23        INIT_FCALL                                               'password_hash'
         24        SEND_VAL                                                 'rasmuslerdorf'
         25        SEND_VAL                                                 '2y'
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $10     
         28        CONCAT                                           ~11     $10, '%0A'
         29        ECHO                                                     ~11
   11    30        ASSIGN                                                   !0, <array>
   12    31        INIT_FCALL                                               'password_hash'
         32        SEND_VAL                                                 'rasmuslerdorf'
         33        SEND_VAL                                                 '2y'
         34        SEND_VAR                                                 !0
         35        DO_ICALL                                         $13     
         36        CONCAT                                           ~14     $13, '%0A'
         37        ECHO                                                     ~14
   13    38        ASSIGN                                                   !0, <array>
   14    39        INIT_FCALL                                               'password_hash'
         40        SEND_VAL                                                 'rasmuslerdorf'
         41        SEND_VAL                                                 '2y'
         42        SEND_VAR                                                 !0
         43        DO_ICALL                                         $16     
         44        CONCAT                                           ~17     $16, '%0A'
         45        ECHO                                                     ~17
   15    46        ASSIGN                                                   !0, <array>
   16    47        INIT_FCALL                                               'password_hash'
         48        SEND_VAL                                                 'rasmuslerdorf'
         49        SEND_VAL                                                 '2y'
         50        SEND_VAR                                                 !0
         51        DO_ICALL                                         $19     
         52        CONCAT                                           ~20     $19, '%0A'
         53        ECHO                                                     ~20
   17    54        ASSIGN                                                   !0, <array>
   18    55        INIT_FCALL                                               'password_hash'
         56        SEND_VAL                                                 'rasmuslerdorf'
         57        SEND_VAL                                                 '2y'
         58        SEND_VAR                                                 !0
         59        DO_ICALL                                         $22     
         60        CONCAT                                           ~23     $22, '%0A'
         61        ECHO                                                     ~23
         62      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.46 ms | 1400 KiB | 15 Q