summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Smith <joey@php.net>2001-08-21 23:59:21 +0000
committerJoey Smith <joey@php.net>2001-08-21 23:59:21 +0000
commit938b31d395543459cca6cb03c6168fdda89620d2 (patch)
treea747081292a7330e15ba5513acd353d6765c9f3e
parentf3ffe2d2580cd60ac6b9a3c14e5cb9855466f0ff (diff)
downloadphp-git-938b31d395543459cca6cb03c6168fdda89620d2.tar.gz
MFH: Make stat() act like stat, not filesize().
-rw-r--r--ext/standard/filestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 0ee0b910c8..987efe1122 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -862,7 +862,7 @@ FileFunction(php_if_lstat, FS_LSTAT)
/* {{{ proto array stat(string filename)
Give information about a file */
-FileFunction(php_if_stat, FS_SIZE)
+FileFunction(php_if_stat, FS_STAT)
/* }}} */
/*