3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path = "/img/"; $file = "photo.jpg"; $width = "300"; $height = "250"; $x = "<span class=\"showthis\" style=\"background-image: url(".$path.$file."); width: ".$width." px; height: ".$height." px\"></span>"; ?>
Output for 4.3.0 - 7.1.0