ssh2_sftp_realpath

PECL ssh2 >= 0.9.0
ssh2_sftp_realpath - Resolve the realpath of a provided path string
Manual
Code Examples

Example #1 Resolving a pathname

PHP Version: