3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mail = 'mail@example.com'; $x = '<a href="mailto:' . $mail . '" style="color: #e10000">' . $mail . '</a>'; echo $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yd1A4
function name:  (null)
number of ops:  8
compiled vars:  !0 = $mail, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'mail%40example.com'
    4     1        CONCAT                                           ~3      '%3Ca+href%3D%22mailto%3A', !0
          2        CONCAT                                           ~4      ~3, '%22+style%3D%22color%3A+%23e10000%22%3E'
          3        CONCAT                                           ~5      ~4, !0
          4        CONCAT                                           ~6      ~5, '%3C%2Fa%3E'
          5        ASSIGN                                                   !1, ~6
    5     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.49 ms | 1392 KiB | 13 Q