is_file

PHP 4, PHP 5, PHP 7, PHP 8
is_file - Tells whether the filename is a regular file
Manual
Code Examples

Example #1 is_file example

Result: bool(true) bool(false)
PHP Version: