3v4l.org

run code in 300+ PHP versions simultaneously
<?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'};";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fAkeG
function name:  (null)
number of ops:  17
compiled vars:  !0 = $wmsName, !1 = $wmsLayer, !2 = $wmsUrl
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'IBA'
    3     1        ASSIGN                                                   !1, 'ibd.dkkd.dd.ss'
    4     2        ASSIGN                                                   !2, 'http%3A%2F%2Fwww.dddd.dd%2Ffund'
    5     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '+'
          5        SEND_VAL                                                 ''
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        CONCAT                                           ~7      $6, 'WmsLayer+%3D+new+OpenLayers.Layer.WMS%28%27'
          9        CONCAT                                           ~8      ~7, !0
         10        CONCAT                                           ~9      ~8, '%27%2C%27'
         11        CONCAT                                           ~10     ~9, !2
         12        CONCAT                                           ~11     ~10, '%27%2C+%7Blayers%3A'
         13        CONCAT                                           ~12     ~11, !1
         14        CONCAT                                           ~13     ~12, '%2C+transparent%3A%27true%27%7D%2C%7BisBaseLayer%3A%27false%27%2C+singleTile%3A%27false%27%7D%3B'
         15        ECHO                                                     ~13
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.74 ms | 1394 KiB | 15 Q