3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_needs_rehash(null, PASSWORD_BCRYPT)); echo "\n"; var_dump(password_needs_rehash('$2y$10$S2j/mLdZIAK/MONvQU57zemRuFR53qW91EBX03nCfNcndAdfOfSnS', PASSWORD_BCRYPT)); echo "\n"; var_dump(password_needs_rehash("holladrio", PASSWORD_BCRYPT));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XAdXt
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'password_needs_rehash'
          2        SEND_VAL                                                 null
          3        SEND_VAL                                                 '2y'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        ECHO                                                     '%0A'
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'password_needs_rehash'
         10        SEND_VAL                                                 '%242y%2410%24S2j%2FmLdZIAK%2FMONvQU57zemRuFR53qW91EBX03nCfNcndAdfOfSnS'
         11        SEND_VAL                                                 '2y'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                                 
    6    15        ECHO                                                     '%0A'
    7    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'password_needs_rehash'
         18        SEND_VAL                                                 'holladrio'
         19        SEND_VAL                                                 '2y'
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.61 ms | 1395 KiB | 17 Q