urldecode_deep( mixed $value ): mixed

Navigates through an array, object, or scalar, and decodes URL-encoded values

Parameters

$valuemixedrequired
The array or string to be decoded.

Return

mixed The decoded value.

Source

function urldecode_deep( $value ) {
	return map_deep( $value, 'urldecode' );
}

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.