is_exist
is_exist($path); - this function is used to check the existence of the specified folder
The function accepts parameters as input:
$path – path to the folder to check for (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
true – this folder exists (boolean)false – there is no such folder (boolean)