3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = rawurlencode('a b c +'); var_dump($x, rawurldecode($x), urldecode($x));
based on n5U7b
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
string(15) "a%20b%20c%20%2B" string(7) "a b c +" string(7) "a b c +"