Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<realpath_cache_getrename>
^Filesystem FunctionsLast updated: Mon, 26 Oct 2026

realpath_cache_size

(PHP 5 >= 5.3.2, PHP 7, PHP 8)

realpath_cache_size — Get realpath cache size

Description

function realpath_cache_size(): int

Get the amount of memory used by the realpath cache.

Parameters

This function has no parameters.

Return Values

Returns how much memory realpath cache is using.

Examples

Example #1 realpath_cache_size() example

<?php
var_dump(realpath_cache_size());
?>

The above example will output something similar to:

int(412)

See Also


<realpath_cache_getrename>
^Filesystem FunctionsLast updated: Mon, 26 Oct 2026