- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
readlink() function in PHP
The readlink() function returns the target of a symbolic link. It returns the contents of the symbolic link path, else returns FALSE on error.
Syntax
readlink(path)
Parameters
path − The path of the symbolic link
Return
The readlink() function returns the contents of the symbolic link path. It returns FALSE on error.
Example
<?php echo readlink('/netbeans); ?>
Output
/execuatble/netbeans-8.2.0
Advertisements