Php realpath cache get
Contents |
PHP function realpath_cache_get
This function gets the realpath cache entries as an array.
Syntax realpath_cache_get
realpath_cache_get(void);
Note
It returns the directory or file information as associative array. It's keys are key, is_dir, realpath, and expires.
Example 1
<?php print_r(realpath_cache_get()); ?>
Output
Array ( [/var/www] => Array ( [key] => -3037793085384704793 [is_dir] => 1 [realpath] => /var/www [expires] => 1339170792 ) [/var] => Array ( [key] => -1736616113044875909 [is_dir] => 1 [realpath] => /var [expires] => 1339170792 ) [/var/www/real.php] => Array ( [key] => 804445198539588312 [is_dir] => [realpath] => /var/www/real.php [expires] => 1339170792 ) )
Related Links
basename-- chgrp-- chmod-- chown-- clearstatcache-- copy-- delete-- dirname-- disk_free_space-- disk_total_space-- diskfreespace-- fclose-- feof-- fflush-- fgetc-- fgetcsv-- fgets-- fgetss-- file_exists-- file_get_contents-- file_put_contents- file-- fileatime-- filectime-- filegroup-- fileinode-- filemtime-- fileowner-- fileperms-- filesize-- filetype-- flock-- fnmatch-- fopen-- fpassthru-- fputcsv-- fputs-- fread-- fscanf-- fseek-- fstat-- ftell-- ftruncate-- fwrite-- glob-- is_dir-- is_executable-- is_file-- is_link-- is_readable-- is_uploaded_file-- is_writable-- is_writeable-- lchgrp-- lchown-- link-- linkinfo-- lstat-- mkdir-- move_uploaded_file-- parse_ini_file-- parse_ini_string-- pathinfo-- pclose-- popen-- readfile-- readlink-- realpath_cache_get-- realpath_cache_size-- realpath-- rename-- rewind-- rmdir-- set_file_buffer-- stat-- symlink-- tempnam-- tmpfile-- touch-- umask-- unlink--