PHP Doku:: Get realpath cache size - function.realpath_cache_size.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDateisystemrelevante ErweiterungenDateisystemDateisystem-Funktionenrealpath_cache_size

Ein Service von Reinhard Neidl - Webprogrammierung.

Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Dateisystem-Funktionen

<<realpath_cache_get

realpath>>

realpath_cache_size

(PHP 5 >= 5.3.2)

realpath_cache_sizeGet realpath cache size

Beschreibung

int realpath_cache_size ( void )

Get the amount of memory used by the realpath cache.

Rückgabewerte

Returns how much memory realpath cache is using.

Beispiele

Beispiel #1 realpath_cache_size() example

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

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

int(412)

Siehe auch


Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Ein BenutzerBeitrag:
- Beiträge aktualisieren...
superaap at gmail dot com
5.11.2010 16:41
Note that the realpath cache is not used if either safe_mode is on or an open_basedir restriction is in effect.
This is having a huge performance effect, causing lots of calls to lstat.

A bugreport has already been filed at http://bugs.php.net/bug.php?id=52312



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)