php8.5
Home/ Manual/ filesystem / functions/ realpath_cache_size

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

Source: reference/filesystem/functions/realpath-cache-size.xml · from the official PHP manual (php/doc-en)