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 ak3tq
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
string(18) "a%20b%20c%20%2B%2F" string(8) "a b c +/" string(8) "a b c +/"