rfc:linking_in_stream_wrappers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:linking_in_stream_wrappers [2014/10/25 11:53] – Add Frank thekid | rfc:linking_in_stream_wrappers [2017/09/22 13:28] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 82: | Line 82: | ||
* | * | ||
* @param | * @param | ||
- | * @return string The link target or NULL | + | * @return string The link target or FALSE if the does not exist |
*/ | */ | ||
function url_readlink($link) { | function url_readlink($link) { | ||
Line 88: | Line 88: | ||
} | } | ||
} | } | ||
+ | </ | ||
+ | |||
+ | * When url_readlink() returns a string, it will be used as readlink()' | ||
+ | * When url_readlink() returns FALSE, readlink() quietly returns FALSE | ||
+ | * For all other return values of url_readlink(), | ||
+ | * When url_readlink() is not implemented, | ||
+ | |||
+ | ==== Limitations ==== | ||
+ | |||
+ | It will not be possible to create links between two different stream wrappers like this: | ||
+ | |||
+ | <PHP> | ||
+ | symlink(' | ||
</ | </ | ||
Line 123: | Line 136: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
TODO: Implement and submit GitHub pull request. | TODO: Implement and submit GitHub pull request. | ||
+ | https:// | ||
===== References ===== | ===== References ===== | ||
- | See http:// | + | * http:// |
- | See https:// | + | * [[https:// |
+ | * [[https:// |
rfc/linking_in_stream_wrappers.txt · Last modified: 2021/03/27 14:47 by ilutov