3v4l.org

run code in 500+ PHP versions simultaneously
<?php $html = <<<HTML <td class="adm-list-table-cell align-right"><a href="iblock_element_edit.php?IBLOCK_ID=1&amp;type=news&amp;ID=2&amp;lang=ru&amp;find_section_section=-1&amp;WF=Y" title="title">2</a></td><td class="adm-list-table-cell align-left adm-list-table-cell-last"> / / / / <span class="del">ALL</span> / / / / / / / / / / </td> HTML; echo preg_replace('~adm-list-table-cell.*?\K[/ ]*(<span class="del".*?</span>)[/ ]*~', '$1', $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TaNKV
function name:  (null)
number of ops:  5
compiled vars:  !0 = $html
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%3Ctd+class%3D%22adm-list-table-cell+align-right%22%3E%3Ca+href%3D%22iblock_element_edit.php%3FIBLOCK_ID%3D1%26amp%3Btype%3Dnews%26amp%3BID%3D2%26amp%3Blang%3Dru%26amp%3Bfind_section_section%3D-1%26amp%3BWF%3DY%22+title%3D%22title%22%3E2%3C%2Fa%3E%3C%2Ftd%3E%3Ctd+class%3D%22adm-list-table-cell+align-left+adm-list-table-cell-last%22%3E+%2F++%2F++%2F++%2F+%3Cspan+class%3D%22del%22%3EALL%3C%2Fspan%3E+%2F++%2F++%2F++%2F++%2F++%2F++%2F++%2F++%2F++%2F+%3C%2Ftd%3E'
    7     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%7Eadm-list-table-cell.%2A%3F%5CK%5B%2F+%5D%2A%28%3Cspan+class%3D%22del%22.%2A%3F%3C%2Fspan%3E%29%5B%2F+%5D%2A%7E', '%241'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
176.74 ms | 2068 KiB | 13 Q