From 3a37ea31ec47510238a96658608db837ba4f2ecf Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Mon, 14 May 2001 12:37:47 +0000 Subject: [PATCH] Added note into stat. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47382 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 160ea80f05..0662499849 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -2413,7 +2413,8 @@ $fp = popen ("/bin/ls", "r"); - Gathers the statistics of the file named by filename. + Gathers the statistics of the file named by filename. + Returns an array with the statistics of the file with the following elements: @@ -2433,7 +2434,14 @@ $fp = popen ("/bin/ls", "r"); number of blocks allocated * - only valid on systems supporting the st_blksize type--other - systems (i.e. Windows) return -1 + systems (i.e. Windows) return -1. + + + Returns FALSE in case of error. + + + stat doesn't handle URL as does fopen. + The results of this function are cached. See clearstatcache for more details.