Search Results
SplFileInfo::getLinkTarget (PHP 5 >= 5.2.2, PHP 7, PHP 8) SplFileInfo::getLinkTarget — Gets the target of a link
SplFileInfo::getLinkTarget 26 déc. 2018 24 fois > (PHP 5 >= 5.2.2, PHP 7, PHP 8) SplFileInfo::getLinkTarget — Lit la cible d'un lien symbolique
See Also SplFileInfo::isLink () - Tells if the file is a link SplFileInfo::getRealPath () - Gets absolute path to file
Simple usage example of `SplFileInfo::getLinkTarget ()`. The SplFileInfo::getLinkTarget function is a PHP function that retrieves the target of a symbolic link. It returns the absolute path of the file or directory that the symbolic link points to.
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
See Also SplFileInfo::isLink () - Tells if the file is a link SplFileInfo::getRealPath () - Gets absolute path to file <?php manual_footer (); ?>
The target may not be the real path on the filesystem. Use SplFileInfo::getRealPath to determine the true path on the filesystem.
