PHP 8.5.0 Alpha 1 available for testing

Voting

: min(five, zero)?
(Example: nine)

The Note You're Voting On

rigrace at swbell dot net
16 years ago
It took me a day or so to figure out that is_file() actually looks for a valid $ existing path/file in string form. It is not performing a pattern-like test on the parameter given. Its testing to see if the given parameter leads to a specific existing 'name.ext' or other (non-directory) file type object.

<< Back to user notes page

To Top