3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.45 ms | 1467 KiB | 17 Q