Hey there hi today I dropped my 208 and took 294... that was a big decision 4r me I dont know why, it was simple but tough 4r me so hope I made a right decision.
If you want to know that the argument supplied is a file or not use is_file() file_exists() will take both file and directory as input and return true if they exists. So, unless you specifically want to check if the argument passed is a file use is_file otherwise use file_exists()
Comments