3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dpath = 'foo'; $prod = 'bar'; echo '<li><a href=product-images/'.$dpath. ' class="cloud-zoom-gallery" rel="useZoom:zoom1,smallImage:thumbs/'.$dpath.'"> <img src=thumbs/'.$dpath.' alt = "'.$prod.'"/></a></li>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Iji86
function name:  (null)
number of ops:  12
compiled vars:  !0 = $dpath, !1 = $prod
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo'
    3     1        ASSIGN                                                   !1, 'bar'
    4     2        CONCAT                                           ~4      '%3Cli%3E%3Ca+href%3Dproduct-images%2F', !0
          3        CONCAT                                           ~5      ~4, '+class%3D%22cloud-zoom-gallery%22+rel%3D%22useZoom%3Azoom1%2CsmallImage%3Athumbs%2F'
          4        CONCAT                                           ~6      ~5, !0
          5        CONCAT                                           ~7      ~6, '%22%3E+%3Cimg+src%3Dthumbs%2F'
          6        CONCAT                                           ~8      ~7, !0
          7        CONCAT                                           ~9      ~8, '+alt+%3D+%22'
          8        CONCAT                                           ~10     ~9, !1
          9        CONCAT                                           ~11     ~10, '%22%2F%3E%3C%2Fa%3E%3C%2Fli%3E'
         10        ECHO                                                     ~11
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.28 ms | 996 KiB | 13 Q