Checks if a file or directory exists.
Parameters
$path
stringrequired- Path to file or directory.
Source
public function exists( $path ) {
return @file_exists( $path );
}
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
Checks if a file or directory exists.
$path
stringrequiredpublic function exists( $path ) {
return @file_exists( $path );
}
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.