3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT sad<table id="smm" width="650" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody><tr> <td width="650" colspan="3" height="10" bgcolor="#FFFFFF"></td> </tr> <tr> <td width="76" height="143"></td> <td width="498" height="143" bgcolor="#ededed" align="center"> <br> <a href="" style="FONT-SIZE: 14pt; COLOR: #003663; FONT-FAMILY: arial; text-decoration: none;">IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014</a> <br><br> <a href="" style="FONT-SIZE: 10pt; COLOR: #249dd8; FONT-FAMILY: arial; text-decoration: none;">This offer is valid until the 21st of August 2014.</a> <br><br> <a href=""><img src="http://freequotes.co.uk/MP_Template/show_me_more.jpg" width="255" height="46" border="0" alt="Show Me More. IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014"></a> <br><br> </td> <td width="76" height="143"></td> </tr> </tbody></table>sdasd this is also here <table>this is here</table> and this EOT; echo preg_replace('/<table id="smm"(\n|.)*<\/table>)/', 'REP', $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jrLcB
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'sad%3Ctable+id%3D%22smm%22+width%3D%22650%22+border%3D%220%22+cellpadding%3D%220%22+cellspacing%3D%220%22+align%3D%22center%22%3E%0A++++++++%3Ctbody%3E%3Ctr%3E%0A++++++++++++++++%3Ctd+width%3D%22650%22+colspan%3D%223%22+height%3D%2210%22+bgcolor%3D%22%23FFFFFF%22%3E%3C%2Ftd%3E%0A++++++++%3C%2Ftr%3E%0A++++++++%3Ctr%3E%0A++++++++++++++++%3Ctd+width%3D%2276%22+height%3D%22143%22%3E%3C%2Ftd%3E%0A++++++++++++++++%3Ctd+width%3D%22498%22+height%3D%22143%22+bgcolor%3D%22%23ededed%22+align%3D%22center%22%3E%0A++++++++++++++++++++++++%3Cbr%3E%0A++++++++++++++++++++++++%3Ca+href%3D%22%22+style%3D%22FONT-SIZE%3A+14pt%3B+COLOR%3A+%23003663%3B+FONT-FAMILY%3A+arial%3B+text-decoration%3A+none%3B%22%3EIMPORTANT+ANNOUNCEMENT+7TH+AUGUST+2014%3C%2Fa%3E%0A++++++++++++++++++++++++%3Cbr%3E%3Cbr%3E%0A++++++++++++++++++++++++%3Ca+href%3D%22%22+style%3D%22FONT-SIZE%3A+10pt%3B+COLOR%3A+%23249dd8%3B+FONT-FAMILY%3A+arial%3B+text-decoration%3A+none%3B%22%3EThis+offer+is+valid+until+the+21st+of+August+2014.%3C%2Fa%3E%0A++++++++++++++++++++++++%3Cbr%3E%3Cbr%3E%0A++++++++++++++++++++++++%3Ca+href%3D%22%22%3E%3Cimg+src%3D%22http%3A%2F%2Ffreequotes.co.uk%2FMP_Template%2Fshow_me_more.jpg%22+width%3D%22255%22+height%3D%2246%22+border%3D%220%22+alt%3D%22Show+Me+More.+IMPORTANT+ANNOUNCEMENT+7TH+AUGUST+2014%22%3E%3C%2Fa%3E%0A++++++++++++++++++++++++%3Cbr%3E%3Cbr%3E%0A++++++++++++++++%3C%2Ftd%3E%0A++++++++++++++++%3Ctd+width%3D%2276%22+height%3D%22143%22%3E%3C%2Ftd%3E%0A++++++++%3C%2Ftr%3E%0A%3C%2Ftbody%3E%3C%2Ftable%3Esdasd%0Athis+is+also+here%0A%3Ctable%3Ethis+is+here%3C%2Ftable%3E%0Aand+this'
   26     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3Ctable+id%3D%22smm%22%28%5Cn%7C.%29%2A%3C%5C%2Ftable%3E%29%2F'
          3        SEND_VAL                                                 'REP'
          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.14 ms | 1387 KiB | 15 Q