3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encryptPassword($password) { $encryptedPassword = md5($password).md5("MOOYOUL"); // SHA1 암호화하고 Base64로 Encode한걸 또 다시 SHA1로 암호화 $encryptedPassword = sha1(sha1(sha1($encryptedPassword, true), true), false).sha1("MOOYOUL").sha1("merong"); return $encryptedPassword; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ji5Vh
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Function encryptpassword:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ji5Vh
function name:  encryptPassword
number of ops:  32
compiled vars:  !0 = $password, !1 = $encryptedPassword
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'md5'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        INIT_FCALL                                               'md5'
          5        SEND_VAL                                                 'MOOYOUL'
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      $2, $3
          8        ASSIGN                                                   !1, ~4
    6     9        INIT_FCALL                                               'sha1'
         10        INIT_FCALL                                               'sha1'
         11        INIT_FCALL                                               'sha1'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $7      
         18        SEND_VAR                                                 $7
         19        SEND_VAL                                                 <false>
         20        DO_ICALL                                         $8      
         21        INIT_FCALL                                               'sha1'
         22        SEND_VAL                                                 'MOOYOUL'
         23        DO_ICALL                                         $9      
         24        CONCAT                                           ~10     $8, $9
         25        INIT_FCALL                                               'sha1'
         26        SEND_VAL                                                 'merong'
         27        DO_ICALL                                         $11     
         28        CONCAT                                           ~12     ~10, $11
         29        ASSIGN                                                   !1, ~12
    7    30      > RETURN                                                   !1
    8    31*     > RETURN                                                   null

End of function encryptpassword

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.59 ms | 1388 KiB | 17 Q