3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1399 KiB | 18 Q