mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed caching final results in chgrp example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308663 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8836adc497
commit
3de058b030
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ $filename = 'shared_file.txt';
|
|||
$format = "%s's Group ID @ %s: %d\n";
|
||||
printf($format, $filename, date('r'), filegroup($filename));
|
||||
chgrp($filename, 8);
|
||||
clearstatcache(); // do not cache filegroup() results
|
||||
printf($format, $filename, date('r'), filegroup($filename));
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue