diff --git a/reference/filesystem/functions/clearstatcache.xml b/reference/filesystem/functions/clearstatcache.xml index 7631fe40ab..63dfb9cfd0 100644 --- a/reference/filesystem/functions/clearstatcache.xml +++ b/reference/filesystem/functions/clearstatcache.xml @@ -1,5 +1,5 @@ - + clearstatcache @@ -132,7 +132,7 @@ $file = 'output_log.txt'; function get_owner($file) { $stat = stat($file); - $user = posix_getpwuid($s['uid']); + $user = posix_getpwuid($stat['uid']); return $user['name']; }