realpath_cache_size
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.2, PHP 7, PHP 8)
Get realpath cache size
Description
realpath_cache_size(): int
Get the amount of memory used by the realpath cache.
Parameters Parameters
Return Values
Returns how much memory realpath cache is using.
Examples
realpath_cache_size() example
php
<?php
var_dump(realpath_cache_size());
?>The above example will output something similar to:
output
int(412)See Also
realpath_cache_get()- The realpath_cache_size configuration option