array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), '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' => 'zh', '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 — 获取真实路径缓冲区的大小
此函数没有参数。
返回真实路径缓存区使用内存的用量。
示例 #1 realpath_cache_size() 示例
<?php
var_dump(realpath_cache_size());
?>
以上示例的输出类似于:
int(412)