Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,

Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
This commit is contained in:
Arnaud Le Blanc 2008-08-07 09:24:04 +00:00
parent 951fe380b3
commit a51e5ebaeb
7 changed files with 89 additions and 17 deletions

View file

@ -1494,7 +1494,9 @@ ZEND_END_ARG_INFO()
#endif
static
ZEND_BEGIN_ARG_INFO(arginfo_clearstatcache, 0)
ZEND_BEGIN_ARG_INFO_EX(arginfo_clearstatcache, 0, 0, 0)
ZEND_ARG_INFO(0, clear_realpath_cache)
ZEND_ARG_INFO(0, filename)
ZEND_END_ARG_INFO()
static