3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = '/picture?width=%%WIDTH%%&height=%%HEIGHT%%'; echo str_replace(['%%WIDTH%%', '%%HEIGHT%%'], [200, 300], $url);
based on k75UZ
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
/picture?width=200&height=300