當前位置: 首頁>>代碼示例 >>用法及示例精選 >>正文


PHP realpath_cache_get()用法及代碼示例


realpath_cache_get() 函數返回真實路徑緩存條目。它返回一個真實路徑緩存條目數組。

用法

realpath_cache_get()

參數

  • NA

返回

realpath_cache_get() 函數返回一個實路徑緩存條目數組。

示例

<?php
   print_r(realpath_cache_get())
?>

輸出

Array
(
[/home] => Array
(
[key] => 4353355791257440477
[is_dir] => 1
[realpath] => /home
[expires] => 1538630044
)

[/home/cg/root] => Array
(
[key] => 1131813419205508649
[is_dir] => 1
[realpath] => /home/cg/root
[expires] => 1538630044
)

[/home/cg/root/8944881/main.php] => Array
(
[key] => 584844883037958768
[is_dir] =>
[realpath] => /home/cg/root/8944881/main.php
[expires] => 1538630044
)

[/home/cg] => Array
(
[key] => 9037225891674879750
[is_dir] => 1
[realpath] => /home/cg
[expires] => 1538630044
)

[/home/cg/root/8944881] => Array
(
[key] => 722006552431300374
[is_dir] => 1
[realpath] => /home/cg/root/8944881
[expires] => 1538630044
)
)

相關用法


注:本文由純淨天空篩選整理自Samual Sam大神的英文原創作品 realpath_cache_get() function in PHP。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。