3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = '!Password1'; $second = '!Passwor'; $password_salt = "311ca5f0-08ac-0131-ca44-42d9c34959f9"; echo crypt($first,$password_salt); echo crypt($second,$password_salt); //Result:31T5JJcAI4fZg31T5JJcAI4fZg
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/018lp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $first, !1 = $second, !2 = $password_salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%21Password1'
    4     1        ASSIGN                                                   !1, '%21Passwor'
    6     2        ASSIGN                                                   !2, '311ca5f0-08ac-0131-ca44-42d9c34959f9'
    8     3        INIT_FCALL                                               'crypt'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !2
          6        DO_ICALL                                         $6      
          7        ECHO                                                     $6
    9     8        INIT_FCALL                                               'crypt'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
   11    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.44 ms | 1394 KiB | 15 Q