3v4l.org

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