From 5969acce5fc3a05f0ce895c4d266357c39e7e4d0 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 20 Feb 2003 17:25:13 +0000 Subject: [PATCH] Use of &file.clearstatcache; and ¬e.no-remote; git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@117362 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/is-dir.xml | 16 ++++++---------- reference/filesystem/functions/is-executable.xml | 16 ++++++---------- reference/filesystem/functions/is-file.xml | 16 ++++++---------- reference/filesystem/functions/is-link.xml | 16 ++++++---------- reference/filesystem/functions/is-writable.xml | 8 +++----- 5 files changed, 27 insertions(+), 45 deletions(-) diff --git a/reference/filesystem/functions/is-dir.xml b/reference/filesystem/functions/is-dir.xml index dba4b007ed..5999f74b8f 100644 --- a/reference/filesystem/functions/is-dir.xml +++ b/reference/filesystem/functions/is-dir.xml @@ -1,5 +1,5 @@ - + @@ -17,15 +17,11 @@ filename is a relative filename, it will be checked relative to the current working directory. - - The results of this function are cached. See - clearstatcache for more details. - - - This function will not work on remote files; the file to - be examined must be accessible via the server's filesystem. - + + &file.clearstatcache; + + ¬e.no-remote; + See also chdir, dir, opendir, is_file and diff --git a/reference/filesystem/functions/is-executable.xml b/reference/filesystem/functions/is-executable.xml index d7fbc6a96a..cbb5ac3a3a 100644 --- a/reference/filesystem/functions/is-executable.xml +++ b/reference/filesystem/functions/is-executable.xml @@ -1,5 +1,5 @@ - + @@ -15,15 +15,11 @@ Returns &true; if the filename exists and is executable. - - The results of this function are cached. See - clearstatcache for more details. - - - This function will not work on remote files; the file to - be examined must be accessible via the server's filesystem. - + + &file.clearstatcache; + + ¬e.no-remote; + This function is not available on diff --git a/reference/filesystem/functions/is-file.xml b/reference/filesystem/functions/is-file.xml index 0d80d36216..b0fd852802 100644 --- a/reference/filesystem/functions/is-file.xml +++ b/reference/filesystem/functions/is-file.xml @@ -1,5 +1,5 @@ - + @@ -15,15 +15,11 @@ Returns &true; if the filename exists and is a regular file. - - The results of this function are cached. See - clearstatcache for more details. - - - This function will not work on remote files; the file to - be examined must be accessible via the server's filesystem. - + + &file.clearstatcache; + + ¬e.no-remote; + See also is_dir and is_link. diff --git a/reference/filesystem/functions/is-link.xml b/reference/filesystem/functions/is-link.xml index 7c76742242..ec0ae2d6f8 100644 --- a/reference/filesystem/functions/is-link.xml +++ b/reference/filesystem/functions/is-link.xml @@ -1,5 +1,5 @@ - + @@ -15,19 +15,15 @@ Returns &true; if the filename exists and is a symbolic link. - - The results of this function are cached. See - clearstatcache for more details. - + + &file.clearstatcache; + + ¬e.no-remote; + See also is_dir, is_file, and readlink. - - This function will not work on remote files; the file to - be examined must be accessible via the server's filesystem. - diff --git a/reference/filesystem/functions/is-writable.xml b/reference/filesystem/functions/is-writable.xml index 0e4ea2489d..8980e6fc01 100644 --- a/reference/filesystem/functions/is-writable.xml +++ b/reference/filesystem/functions/is-writable.xml @@ -1,5 +1,5 @@ - + @@ -22,10 +22,8 @@ that the web server runs as (often 'nobody'). Safe mode limitations are not taken into account. - - The results of this function are cached. See - clearstatcache for more details. - + + &file.clearstatcache; ¬e.no-remote;