is_exist
is_exist($path); - this function is used to check the existence of a file at the specified path
The function accepts parameters as input:
$path – path to the file 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 – there is such a file (boolean)false – there is no such file (boolean)