SplFileInfo::getPathname

Gets the path to the file

&reftitle.description; public `string` `SplFileInfo::getPathname`

Returns the path to the file.

&reftitle.parameters; &no.function.parameters;
&reftitle.returnvalues;

The path to the file.

&reftitle.examples;

### `SplFileInfo::getPathname` example

    <?php
    $info = new SplFileInfo('/usr/bin/php');
    var_dump($info->getPathname());
    ?>

&example.outputs.similar;

    string(12) "/usr/bin/php"

&reftitle.seealso;

- `SplFileInfo::getRealPath`