I hope you're all doing well. I have a question about the `is_readable()` function in PHP and I was hoping someone could help me out.
To provide a bit of context, I've been working on a PHP project where I need to check if a file is readable before performing certain actions with it. I came across the `is_readable()` function, but I'm not entirely sure how to use it correctly.
From what I understand, `is_readable()` is a built-in PHP function that checks if a file exists and if it is readable. It returns `true` if the file exists and is readable, and `false` otherwise. Is that correct?
I would really appreciate it if someone could provide me with a simple example of how to use the `is_readable()` function. Maybe something like checking if a specific file is readable in a directory?
Thank you in advance for your help!