3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rawurlencode('http://server.com/1.pdf');
Output for 4.3.0 - 7.1.0
http%3A%2F%2Fserver.com%2F1.pdf