(PHP 5 >= 5.1.2)
SplFileInfo::getPathname — دریافت مسیر فایل
بازگرداندن مسیر فایل.
This function has no parameters.
مسیر فایل.
Example #1 مثال SplFileInfo::getPathname()
<?php
$info = new SplFileInfo('/usr/bin/php');
var_dump($info->getPathname());
?>
The above example will output something similar to:
string(12) "/usr/bin/php"