2 Test is_file() function: usage variations - invalid filenames
7 /* Prototype: bool is_file ( string $filename );
8 Description: Tells whether the filename is a regular file
9 Returns TRUE if the filename exists and is a regular file
12 /* Testing is_file() with invalid arguments -int, float, bool, NULL */
14 function flatten($variable) {
20 return \trim($flattened);
24 /* Invalid filenames */
38 flatten($filename), @is_file($filename));