rfc:linking_in_stream_wrappers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:linking_in_stream_wrappers [2014/11/30 20:20] – mikey179 | rfc:linking_in_stream_wrappers [2021/03/27 14:47] (current) – Move to inactive ilutov | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Author: Timm Friebe, thekid@php.net | * Author: Timm Friebe, thekid@php.net | ||
* Contributor: | * Contributor: | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
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 89: | Line 89: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | * 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 ==== | ==== Limitations ==== | ||
- | * It will not be possible to create links between two different stream wrappers like so: | + | It will not be possible to create links between two different stream wrappers like this: |
<PHP> | <PHP> | ||
symlink(' | symlink(' | ||
Line 130: | 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.1417378836.txt.gz · Last modified: 2017/09/22 13:28 (external edit)