Navigates through an array, object, or scalar, and decodes URL-encoded values
Parameters
$valuemixedrequired- The array or string to be decoded.
Source
function urldecode_deep( $value ) {
return map_deep( $value, 'urldecode' );
}
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
#Example
And the result would be: