Function HarmlessURLCoder->decode
Definitions
sources/urls_simplifier.php
- URL-decode a string (whole or partial URL) to be readable.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$str | string | No | No | required parameter | N/A | N/A | The input string |
Returns
- The decoded string
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* URL-decode a string (whole or partial URL) to be readable.
*
* @param string $str The input string
* @return string The decoded string
*/
public function decode(string $str) : string
* URL-decode a string (whole or partial URL) to be readable.
*
* @param string $str The input string
* @return string The decoded string
*/
public function decode(string $str) : string