3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rawurlencode("https://www.indiacod.com/index.php?route=product/product&product_id=3972") . "\n" . urlencode("https://www.indiacod.com/index.php?route=product/product&product_id=3972"); ?>
Output for 4.3.0 - 7.1.0
https%3A%2F%2Fwww.indiacod.com%2Findex.php%3Froute%3Dproduct%2Fproduct%26product_id%3D3972 https%3A%2F%2Fwww.indiacod.com%2Findex.php%3Froute%3Dproduct%2Fproduct%26product_id%3D3972