What will decode "email%2540yahoo.com" value in PHP?
<p>My variable with javascript looks like this:</p>

<pre><code>var email = encodeURIComponent($('input[name=\'email\']').val())
</code></pre>

<p><code>email</code> is clearly being encoded and is producing this when sent to server: <code>email%2540yahoo.com</code></p>

<p>What function in PHP will decode this value properly?</p>

<p>I've tried using <code><a href="http://php.net/manual/en/function.html-entity-decode.php/%20%22html_entity_decode" rel="nofollow">html_entity_decode</a></code></p>
