SplFileInfo::getPathname
Gets the path to the file
Beschreibung
public string SplFileInfo::getPathname
( void
)
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
The path to the file.
Beispiele
Beispiel #1 SplFileInfo::getPathname example
<?php
$info = new SplFileInfo('/usr/bin/php');
var_dump($info->getPathname());
?>
Das oben gezeigte Beispiel erzeugt
eine ähnliche Ausgabe wie:
string(12) "/usr/bin/php"