PHP realpath_cache_size() Function
The PHP realpath_cache_size() function returns the realpath cache size.
Syntax
realpath_cache_size()
Parameters
No parameter is required.
Return Value
Returns how much memory realpath cache is using.
Example:
The example below shows the usage of realpath_cache_size() function.
<?php var_dump(realpath_cache_size()); ?>
The output of the above code will be similar to:
int(406)
❮ PHP Filesystem Reference