3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_needs_rehash(crypt('Example', '$1$'), PASSWORD_BCRYPT)); // CRYPT_MD5 var_dump(password_needs_rehash(crypt('Example', '$6$rounds=5000$aa$'), PASSWORD_BCRYPT)); // CRYPT_SHA512 with 5000 rounds
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z61hu
function name:  (null)
number of ops:  23
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        INIT_FCALL                                               'crypt'
          3        SEND_VAL                                                 'Example'
          4        SEND_VAL                                                 '%241%24'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        SEND_VAL                                                 '2y'
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'password_needs_rehash'
         13        INIT_FCALL                                               'crypt'
         14        SEND_VAL                                                 'Example'
         15        SEND_VAL                                                 '%246%24rounds%3D5000%24aa%24'
         16        DO_ICALL                                         $3      
         17        SEND_VAR                                                 $3
         18        SEND_VAL                                                 '2y'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.54 ms | 1395 KiB | 19 Q