Learning PHP
Advanced PHP
PHP Function Reference
PHP Useful Resources
Selected Reading
© 2013 TutorialsPoint.COM
|
PHP Function clearstatcache()
Advertisements
Syntax
|
void clearstatcache ( void );
|
Definition and Usage
When you use stat(), lstat(), or any of the other file functions, PHP caches the information those functions return in order to provide faster performance. However, in certain cases, you may want to clear the cached information.
You will use the clearstatcache() function to clear the information that PHP caches about a file.
Paramters
| Parameter | Description |
| void | NA |
Return Value
No value is returned.
Example
Following is the usage of this function:
<?php
clearstatcache();
?>
|
Advertisements
|
|
|