Manuel PHP
SplFileInfo::__toString
(No version information available, might be only in CVS)
SplFileInfo::__toString — Returns the path to the file as a string
Description
public void SplFileInfo::__toString
( void
)
This method will return the file name of the referenced 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::__toString() example
L'exemple ci-dessus va afficher quelque chose de similaire à :
string(3) "foo"
foo
string(12) "/usr/bin/php"
/usr/bin/php
Remonter 
