mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
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:
parent
951fe380b3
commit
a51e5ebaeb
7 changed files with 89 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue