array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.realpath-cache-size.php', 1 => 'realpath_cache_size', ), 'up' => array ( 0 => 'ref.filesystem.php', 1 => 'ファイルシステム 関数', ), 'prev' => array ( 0 => 'function.realpath-cache-get.php', 1 => 'realpath_cache_get', ), 'next' => array ( 0 => 'function.realpath.php', 1 => 'realpath', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/filesystem/functions/realpath-cache-size.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.2, PHP 7, PHP 8)
realpath_cache_size — realpath キャッシュサイズを取得
この関数にはパラメータはありません。
realpath キャッシュが使用中のメモリ量を返します。
例1 realpath_cache_size() 例
<?php
var_dump(realpath_cache_size());
?>
上の例の出力は、 たとえば以下のようになります。
int(412)