PHP readlink() 函数
定义和用法
readlink() 函数返回符号连接指向的目标。
若成功,则该函数返回连接的目标。若失败,则返回 false。
语法
readlink(linkpath)
| 参数 | 描述 |
|---|---|
| linkpath | 必需。规定要检查的连接路径。 |
提示和注释
注释:本函数未在 Windows 平台下实现。。
例子
<?php
echo readlink("/user/testlink");
?>李清波 2021-06-17 PHP函数 1643 复制当前网址
readlink() 函数返回符号连接指向的目标。
若成功,则该函数返回连接的目标。若失败,则返回 false。
readlink(linkpath)
| 参数 | 描述 |
|---|---|
| linkpath | 必需。规定要检查的连接路径。 |
注释:本函数未在 Windows 平台下实现。。
<?php
echo readlink("/user/testlink");
?>__construct
zip_read
zip_open
zip_entry_read
zip_entry_open
zip_entry_name
zip_entry_filesize
zip_entry_compressionmethod
zip_entry_compressedsize
zip_entry_close
zip_close
xpath
xml_set_unparsed_entity_decl_handler
xml_set_processing_instruction_handler
xml_set_object
xml_set_notation_decl_handler
xml_set_external_entity_ref_handler
xml_set_element_handler
xml_set_default_handler
xml_set_character_data_handler