Please answer this simple SPAM challenge: min(two, one)? (Example: nine)
One note regarding checking for empty directories :>>echo (count(glob("$dir/*")) === 0) ? 'Empty' : 'Not empty';This does not work correctly on Linux.The '.' and '..' will always be returned even if no files are present in the directory.
<< Back to user notes page