3v4l.org

run code in 300+ PHP versions simultaneously
<?php $save_passwd = crypt('abcdefg', '$2y$10$'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; $options = [ 'cost' => 10, 'salt' => "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$", ]; $save_passwd = password_hash('abcdefg', PASSWORD_BCRYPT, $options); if(password_verify('abcdefg', $save_passwd)){ echo "5.5버전이상"; }else{ echo "거지셈"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/07oqB
function name:  (null)
number of ops:  33
compiled vars:  !0 = $save_passwd, !1 = $encrypt, !2 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'crypt'
          1        SEND_VAL                                                 'abcdefg'
          2        SEND_VAL                                                 '%242y%2410%24'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    3     5        CONCAT                                           ~5      !0, '%5Cn'
          6        ECHO                                                     ~5
    4     7        INIT_FCALL                                               'crypt'
          8        SEND_VAL                                                 'abcdefg'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
    5    12        CONCAT                                           ~8      !1, '%5Cn'
         13        ECHO                                                     ~8
    6    14        IS_EQUAL                                                 !1, !0
         15      > JMPZ                                                     ~9, ->17
         16    >   ECHO                                                     '%EC%9E%98%EB%90%98%EC%97%88%EC%9C%BC%EB%A9%B4%EC%A2%8B%EA%B2%A0%EB%84%A4%EC%9A%94%EC%8B%9C%EB%B0%9C%7E'
    7    17    >   ASSIGN                                                   !2, <array>
   11    18        INIT_FCALL                                               'password_hash'
         19        SEND_VAL                                                 'abcdefg'
         20        SEND_VAL                                                 '2y'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                         $11     
         23        ASSIGN                                                   !0, $11
   12    24        INIT_FCALL                                               'password_verify'
         25        SEND_VAL                                                 'abcdefg'
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $13     
         28      > JMPZ                                                     $13, ->31
   13    29    >   ECHO                                                     '5.5%EB%B2%84%EC%A0%84%EC%9D%B4%EC%83%81'
         30      > JMP                                                      ->32
   15    31    >   ECHO                                                     '%EA%B1%B0%EC%A7%80%EC%85%88'
   18    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.26 ms | 1396 KiB | 19 Q