Tuesday, 27 August 2013

PHP Function clearstatcache()

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

ParameterDescription
voidNA

Return Value

No value is returned.

Example

Following is the usage of this function:
<?php
clearstatcache();         
?>

No comments:

Post a Comment