Run the above code will get error: If I modify key=’dev’, it works. So, the key only can be a simple string? Answer You must declare the array associative first:
Tag: dictionary
Check if any file in a directory contains words in a constant file
i have a directory with n textfiles. Now, i want to check, if any of these files contains one (or more) words of a constant file. These files are all dictionarys with a different amount of words. The constant file is a password list, where i want to check these words. The amount of correct hits should be saved in