3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $wmsName="IBA"; $wmsLayer="ibd.dkkd.dd.ss"; $wmsUrl="http://www.dddd.dd/fund"; echo str_replace(' ', '', $wmsName)."WmsLayer = new OpenLayers.Layer.WMS('".$wmsName.",".$wmsUrl.", {layers:".$wmsLayer.", transparent:'true'},{isBaseLayer:false, singleTile:false};";
Output for 4.3.0 - 7.1.7
IBAWmsLayer = new OpenLayers.Layer.WMS('IBA,http://www.dddd.dd/fund, {layers:ibd.dkkd.dd.ss, transparent:'true'},{isBaseLayer:false, singleTile:false};