3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.89 ms | 1395 KiB | 17 Q