3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = md5(microtime(true)); $save_passwd = crypt('abcdefg', '$2y$07$'.$salt.'$'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; if(password_verify('abcdefg', $p)){ echo "방가우ㅘ요아ㅐ"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 32
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
Branch analysis from position: 26
filename:       /in/eUnrG
function name:  (null)
number of ops:  33
compiled vars:  !0 = $salt, !1 = $save_passwd, !2 = $encrypt, !3 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'md5'
          1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $4      
          4        SEND_VAR                                                 $4
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !0, $5
    3     7        INIT_FCALL                                               'crypt'
          8        SEND_VAL                                                 'abcdefg'
          9        CONCAT                                           ~7      '%242y%2407%24', !0
         10        CONCAT                                           ~8      ~7, '%24'
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !1, $9
    4    14        CONCAT                                           ~11     !1, '%5Cn'
         15        ECHO                                                     ~11
    5    16        INIT_FCALL                                               'crypt'
         17        SEND_VAL                                                 'abcdefg'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $12     
         20        ASSIGN                                                   !2, $12
    6    21        CONCAT                                           ~14     !2, '%5Cn'
         22        ECHO                                                     ~14
    7    23        IS_EQUAL                                                 !2, !1
         24      > JMPZ                                                     ~15, ->26
         25    >   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'
    8    26    >   INIT_FCALL                                               'password_verify'
         27        SEND_VAL                                                 'abcdefg'
         28        SEND_VAR                                                 !3
         29        DO_ICALL                                         $16     
         30      > JMPZ                                                     $16, ->32
    9    31    >   ECHO                                                     '%EB%B0%A9%EA%B0%80%EC%9A%B0%E3%85%98%EC%9A%94%EC%95%84%E3%85%90'
   11    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.05 ms | 1396 KiB | 21 Q