3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; width: 100%; margin: 0px auto;    max-width: 600px;" width="600">    <tbody>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" valign="top"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/COV7Y3_logo.png" style="max-width:440px; width: 100%;margin: 0px auto;" /></td>        </tr>        <tr>            <td style="border-top:1px solid #aeaeae;">&nbsp;</td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" style="font-family:Helvetica,Arial; font-size:30px; color:#000; text-transform: uppercase;" valign="top">Your Review<br />            Has Been Approved!</td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" style="font-family:Helvetica,Arial; font-size:14px; color:#000;" valign="top">Thank you for your review. Please click on &ldquo;View Review&rdquo;<br />            below to see your approved review.</td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" valign="top"><img alt="" height="250px" src="#productImageUrl#" width="268px" /></td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" style="font-family:Helvetica,Arial; font-size:22px; color:#000; text-transform: uppercase;" valign="top">#productName#</td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td>&nbsp;</td>        </tr>        <tr>            <td align="center" valign="top"><a href="#producturl##sas28utmtag#"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/CXGJEG_view.png" /></a></td>        </tr>        <tr>            <td height="60">&nbsp;</td>        </tr>        <tr>            <td align="center" style="background:#eaeaea;font-family:Helvetica,Arial; font-size:11px; color:#000; height:80px;" valign="middle">Many Thanks<br />            The Wilsons Leather Team</td>        </tr>    </tbody></table><sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm>'; echo substr($str, strpos($str, '<sas28utm>')+10, strpos($str, '</sas28utm>')+11);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/72hRV
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ctable+border%3D%220%22+cellpadding%3D%220%22+cellspacing%3D%220%22+style%3D%22margin%3A+0+auto%3B+width%3A+100%25%3B+margin%3A+0px+auto%3B+%C2%A0+%C2%A0max-width%3A+600px%3B%22+width%3D%22600%22%3E+%C2%A0%C2%A0%C2%A0%3Ctbody%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+valign%3D%22top%22%3E%3Cimg+alt%3D%22%22+src%3D%22http%3A%2F%2Fcdn.socialannex.com%2Fcustom_images%2F9396340%2FCOV7Y3_logo.png%22+style%3D%22max-width%3A440px%3B+width%3A+100%25%3Bmargin%3A+0px+auto%3B%22+%2F%3E%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+style%3D%22border-top%3A1px+solid+%23aeaeae%3B%22%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+style%3D%22font-family%3AHelvetica%2CArial%3B+font-size%3A30px%3B+color%3A%23000%3B+text-transform%3A+uppercase%3B%22+valign%3D%22top%22%3EYour+Review%3Cbr+%2F%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0Has+Been+Approved%21%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+style%3D%22font-family%3AHelvetica%2CArial%3B+font-size%3A14px%3B+color%3A%23000%3B%22+valign%3D%22top%22%3EThank+you+for+your+review.+Please+click+on+%26ldquo%3BView+Review%26rdquo%3B%3Cbr+%2F%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0below+to+see+your+approved+review.%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+valign%3D%22top%22%3E%3Cimg+alt%3D%22%22+height%3D%22250px%22+src%3D%22%23productImageUrl%23%22+width%3D%22268px%22+%2F%3E%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+style%3D%22font-family%3AHelvetica%2CArial%3B+font-size%3A22px%3B+color%3A%23000%3B+text-transform%3A+uppercase%3B%22+valign%3D%22top%22%3E%23productName%23%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+valign%3D%22top%22%3E%3Ca+href%3D%22%23producturl%23%23sas28utmtag%23%22%3E%3Cimg+alt%3D%22%22+src%3D%22http%3A%2F%2Fcdn.socialannex.com%2Fcustom_images%2F9396340%2FCXGJEG_view.png%22+%2F%3E%3C%2Fa%3E%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+height%3D%2260%22%3E%26nbsp%3B%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctr%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3Ctd+align%3D%22center%22+style%3D%22background%3A%23eaeaea%3Bfont-family%3AHelvetica%2CArial%3B+font-size%3A11px%3B+color%3A%23000%3B+height%3A80px%3B%22+valign%3D%22middle%22%3EMany+Thanks%3Cbr+%2F%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0The+Wilsons+Leather+Team%3C%2Ftd%3E+%C2%A0%C2%A0%C2%A0+%C2%A0%C2%A0%C2%A0%3C%2Ftr%3E+%C2%A0%C2%A0%C2%A0%3C%2Ftbody%3E%3C%2Ftable%3E%3Csas28utm%3Eutm_campaign%3Dwrite_review%26utm_medium%3Demail%26utm_source%3Dsocialannex%3C%2Fsas28utm%3E'
    5     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'strpos'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '%3Csas28utm%3E'
          6        DO_ICALL                                         $2      
          7        ADD                                              ~3      $2, 10
          8        SEND_VAL                                                 ~3
          9        INIT_FCALL                                               'strpos'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 '%3C%2Fsas28utm%3E'
         12        DO_ICALL                                         $4      
         13        ADD                                              ~5      $4, 11
         14        SEND_VAL                                                 ~5
         15        DO_ICALL                                         $6      
         16        ECHO                                                     $6
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.1 ms | 1400 KiB | 17 Q