search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

Programming Dictionary

Online technical manual for service programmers
Popular searches:
Dictionary homepage Server PHP php is_readable() function
php is_readable() function Detailed instructions for use

php is_readable() function

Chinese translation Recent Updates: 2018-04-19 09:40:17

UK [ˈri:dəbl] US [ˈridəbəl]

adj.Easy to read; easy to understand

php is_readable() function syntax

Function: Determine whether the specified file name is readable.

Syntax: is_readable(file)

## Parameters:

ParameterDescriptionfile Required. Specifies the documents to be checked.

Description: Returns TRUE if the file or directory specified by file exists and is readable.

php is_readable() function example

<?php
$file = is_readable("./test.txt");
if($file == 1)
{
    echo "该文件是可读的";
}else{
    echo "该文件不可读";
}
?>
php is_readable() function