Zend\Uri\Uri::encodeQueryFragment
URL-encode a query string or fragment based on RFC-3986 guidelines.
Note that query and fragment encoding allows more unencoded characters than the usual rawurlencode() function would usually return - for example '/' and ':' are allowed as literals.
Signature
public function encodeQueryFragment(string
$input )
Parameters
$input
— string
Returns
- string