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 21HmQ
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.3.1
string(9) "a%20b%20c" string(5) "a b c" string(5) "a b c"