Gen. partnerAlgotech

PHP function is_readable()

Tells whether a file exists and is readable

|
September 11, 2019

Availability in PHP 4.0

Tells whether a file exists and is readable

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

bool

true if the file or directory specified by filename exists and is readable, false otherwise.

Other resources

Official is-readable documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.