3v4l.org

run code in 300+ PHP versions simultaneously
<?php $save_passwd = crypt('abcdefg', '$2a$07$'); echo $save_passwd.'<br />'; $encrypt = crypt('abcdefg' , '$2a$07$'.$save_passwd.'$'); echo $encrypt.'<br />'; if(!strcmp($encrypt,$save_passwd)) echo "패스워드가 일치합니다."; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/0hCN3
function name:  (null)
number of ops:  24
compiled vars:  !0 = $save_passwd, !1 = $encrypt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'crypt'
          1        SEND_VAL                                                 'abcdefg'
          2        SEND_VAL                                                 '%242a%2407%24'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        CONCAT                                           ~4      !0, '%3Cbr+%2F%3E'
          6        ECHO                                                     ~4
    4     7        INIT_FCALL                                               'crypt'
          8        SEND_VAL                                                 'abcdefg'
          9        CONCAT                                           ~5      '%242a%2407%24', !0
         10        CONCAT                                           ~6      ~5, '%24'
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !1, $7
    5    14        CONCAT                                           ~9      !1, '%3Cbr+%2F%3E'
         15        ECHO                                                     ~9
    6    16        INIT_FCALL                                               'strcmp'
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $10     
         20        BOOL_NOT                                         ~11     $10
         21      > JMPZ                                                     ~11, ->23
         22    >   ECHO                                                     '%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C%EA%B0%80+%EC%9D%BC%EC%B9%98%ED%95%A9%EB%8B%88%EB%8B%A4.'
    7    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.77 ms | 1395 KiB | 17 Q