Manuel PHP
SplFileInfo::getRealPath
(PHP 5 >= 5.2.2)
SplFileInfo::getRealPath — Gets absolute path to file
Description
public string SplFileInfo::getRealPath
( void
)
This method expands all symbolic links, resolves relative references and returns the real path to the file.
Liste de paramètres
Cette fonction ne contient aucun paramètre.
Valeurs de retour
Returns the path to the file.
Exemples
Exemple #1 SplFileInfo::getRealPath() example
L'exemple ci-dessus va afficher quelque chose de similaire à :
string(28) "/private/tmp/phptempfile.php"
string(12) "/private/tmp"
Remonter 
