Function __global->remove_url_mistakes
Definitions
sources/urls2.php
- Map spaces to %20 and put https:// in front of URLs starting www.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $url | URLPATH | No | No | required parameter | N/A | N/A | The URL to fix |
Returns
- The fixed result
- Type: URLPATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Map spaces to %20 and put https:// in front of URLs starting www.
*
* @param URLPATH $url The URL to fix
* @return URLPATH The fixed result
*/
function remove_url_mistakes(string $url) : string
* Map spaces to %20 and put https:// in front of URLs starting www.
*
* @param URLPATH $url The URL to fix
* @return URLPATH The fixed result
*/
function remove_url_mistakes(string $url) : string

