function urisprintf($pattern)libphutil Technical Documentation ()
function urisprintf($pattern)
libphutil Technical Documentation ()
Format a URI. This function behaves like sprintf, except that all the normal conversions (like "%s") will be properly escaped, and additional conversions are supported:
%s (String) Escapes text for use in a URI. %p (Path Component) Escapes text for use in a URI path component. %R (Raw String) Inserts raw, unescaped text. DANGEROUS!
Parameters
$pattern |
Return
wild |
- Defined
- src/xsprintf/urisprintf.php:17