← All built-ins / urldecode()
urldecode()
urldecode(string $s): string
Parameters
| Name | Type | Description |
|---|---|---|
| $s | string | encoded text |
Return value
Decoded text.
Example
echo urldecode("holy+php+%26+more");holy php & more
| Name | Type | Description |
|---|---|---|
| $s | string | encoded text |
Decoded text.
echo urldecode("holy+php+%26+more");holy php & more