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 "잘되었으면좋겠네요시발~"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/EbZWW
function name:  (null)
number of ops:  27
compiled vars:  !0 = $salt, !1 = $save_passwd, !2 = $encrypt
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                                         $3      
          4        SEND_VAR                                                 $3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    3     7        INIT_FCALL                                               'crypt'
          8        SEND_VAL                                                 'abcdefg'
          9        CONCAT                                           ~6      '%242y%2407%24', !0
         10        CONCAT                                           ~7      ~6, '%24'
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        ASSIGN                                                   !1, $8
    4    14        CONCAT                                           ~10     !1, '%5Cn'
         15        ECHO                                                     ~10
    5    16        INIT_FCALL                                               'crypt'
         17        SEND_VAL                                                 'abcdefg'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $11     
         20        ASSIGN                                                   !2, $11
    6    21        CONCAT                                           ~13     !2, '%5Cn'
         22        ECHO                                                     ~13
    7    23        IS_EQUAL                                                 !2, !1
         24      > JMPZ                                                     ~14, ->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'
    9    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.61 ms | 1400 KiB | 19 Q