3v4l.org

run code in 300+ PHP versions simultaneously
<?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>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ds6Ek
function name:  (null)
number of ops:  13
compiled vars:  !0 = $path, !1 = $file, !2 = $width, !3 = $height, !4 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fimg%2F'
    3     1        ASSIGN                                                   !1, 'photo.jpg'
    4     2        ASSIGN                                                   !2, '300'
    5     3        ASSIGN                                                   !3, '250'
    6     4        CONCAT                                           ~9      '%3Cspan+class%3D%22showthis%22+style%3D%22background-image%3A+url%28', !0
          5        CONCAT                                           ~10     ~9, !1
          6        CONCAT                                           ~11     ~10, '%29%3B+width%3A+'
          7        CONCAT                                           ~12     ~11, !2
          8        CONCAT                                           ~13     ~12, '+px%3B+height%3A+'
          9        CONCAT                                           ~14     ~13, !3
         10        CONCAT                                           ~15     ~14, '+px%22%3E%3C%2Fspan%3E'
         11        ASSIGN                                                   !4, ~15
    7    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.33 ms | 1393 KiB | 13 Q