• PHP Video Tutorials

PHP - rawurldecode() Function



rawurldecode() function can decode a URL encoded strings.

Syntax

string rawurldecode( string $str )

rawurldecode() function can return a string in which sequences with percent (%) signs followed by two hex digits have been replaced with literal characters.

rawurldecode() function can return a decoded URL as a string.

Example

<?php
   echo rawurldecode("foo%20bar%40baz");
?>
php_function_reference.htm
Advertisements