3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str ="http://validator.w3.org/check?1=1&2=2"; echo urlencode($str);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
http%3A%2F%2Fvalidator.w3.org%2Fcheck%3F1%3D1%262%3D2