3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Какой-то <!-- текст <a href= --> eeeeeeeee <!-- \"http://site.ru/page.html\" target=\"_blank\">Text</a>. --> Продолжение текста"; echo preg_replace("/<!--[^]*-->/","", $text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uW3dH
function name:  (null)
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%9A%D0%B0%D0%BA%D0%BE%D0%B9-%D1%82%D0%BE+%3C%21--+%D1%82%D0%B5%D0%BA%D1%81%D1%82+%3Ca+href%3D+--%3E++eeeeeeeee+++%3C%21--+%22http%3A%2F%2Fsite.ru%2Fpage.html%22+target%3D%22_blank%22%3EText%3C%2Fa%3E.+--%3E+%D0%9F%D1%80%D0%BE%D0%B4%D0%BE%D0%BB%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5+%D1%82%D0%B5%D0%BA%D1%81%D1%82%D0%B0'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3C%21--%5B%5E%5D%2A--%3E%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.21 ms | 1394 KiB | 15 Q