SplFileInfo::getPathname
(PHP 5 >= 5.1.2)
SplFileInfo::getPathname — Gets the path to the file
Opis
public string SplFileInfo::getPathname
( void
)
Returns the path to the file.
Parametry
Ta funkcja nie posiada parametrów.
Zwracane wartości
The path to the file.
Przykłady
Przykład #1 SplFileInfo::getPathname() example
<?php
$info = new SplFileInfo('/usr/bin/php');
var_dump($info->getPathname());
?>
Powyższy przykład wyświetli coś podobnego do:
string(12) "/usr/bin/php"
