3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm><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>'; $substr = substr($str, strpos($str, '<sas28utm>'), strpos($str, '</sas28utm>')); $utmtag = substr($substr, 10, strlen($substr)-21); echo $utmtag;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0090.00916.50
8.3.50.0070.01117.94
8.3.40.0110.00718.84
8.3.30.0060.00918.58
8.3.20.0000.00721.95
8.3.10.0090.00021.73
8.3.00.0080.00417.93
8.2.180.0100.01016.63
8.2.170.0120.00322.96
8.2.160.0040.01119.19
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00220.34
8.2.120.0080.00026.35
8.2.110.0030.00619.33
8.2.100.0130.00317.72
8.2.90.0000.00819.05
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.00720.29
8.2.30.0040.00419.25
8.2.20.0040.00418.06
8.2.10.0030.00618.00
8.2.00.0070.00018.20
8.1.280.0080.00825.92
8.1.270.0080.00020.65
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.43
8.1.230.0040.00719.14
8.1.220.0030.00617.77
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0030.00518.55
8.1.160.0030.00618.82
8.1.150.0020.00518.82
8.1.140.0040.00419.50
8.1.130.0030.00318.73
8.1.120.0080.00017.35
8.1.110.0050.00317.30
8.1.100.0000.00717.38
8.1.90.0030.00317.42
8.1.80.0080.00017.37
8.1.70.0030.00317.41
8.1.60.0030.00517.54
8.1.50.0000.00717.50
8.1.40.0040.00417.36
8.1.30.0030.00517.59
8.1.20.0040.00417.55
8.1.10.0040.00417.51
8.1.00.0060.00317.50
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.37
8.0.270.0030.00317.30
8.0.260.0000.00617.16
8.0.250.0030.00316.96
8.0.240.0000.00816.96
8.0.230.0050.00216.86
8.0.220.0000.00716.88
8.0.210.0070.00016.80
8.0.200.0030.00316.95
8.0.190.0030.00616.80
8.0.180.0040.00416.78
8.0.170.0040.00416.75
8.0.160.0040.00416.92
8.0.150.0030.00316.80
8.0.140.0060.00516.64
8.0.130.0000.00513.25
8.0.120.0030.00316.69
8.0.110.0000.00716.86
8.0.100.0040.00416.66
8.0.90.0040.00416.80
8.0.80.0120.00916.77
8.0.70.0070.00016.88
8.0.60.0040.00416.86
8.0.50.0030.00516.68
8.0.30.0020.01317.05
8.0.20.0070.01117.40
8.0.10.0030.00516.84
8.0.00.0100.00716.88
7.4.330.0000.00515.55
7.4.320.0030.00316.44
7.4.300.0030.00316.49
7.4.290.0030.00316.36
7.4.280.0050.00316.49
7.4.270.0000.00716.55
7.4.260.0030.00716.36
7.4.250.0080.00016.36
7.4.240.0050.00216.54
7.4.230.0040.00416.33
7.4.220.0040.01416.28
7.4.210.0030.01216.38
7.4.200.0000.00716.33
7.4.160.0080.00916.39
7.4.150.0100.00717.40
7.4.140.0140.00717.86
7.4.130.0120.00616.63
7.4.120.0130.01016.50
7.4.110.0070.01016.58
7.4.100.0120.00616.62
7.4.90.0100.00616.34
7.4.80.0060.01019.39
7.4.70.0070.01016.39
7.4.60.0060.01216.40
7.4.50.0000.01516.55
7.4.40.0140.00716.28
7.4.30.0110.01116.43
7.4.00.0000.01514.96
7.3.330.0000.00513.09
7.3.320.0030.00313.06
7.3.310.0030.00316.21
7.3.300.0000.00616.33
7.3.290.0050.00916.35
7.3.280.0060.01216.33
7.3.270.0030.01417.40
7.3.260.0120.00616.53
7.3.250.0100.01016.32
7.3.240.0140.00616.48
7.3.230.0110.00716.41
7.3.210.0170.00316.22
7.3.200.0140.00016.52
7.3.190.0120.01216.39
7.3.180.0120.00416.30
7.3.170.0060.01116.27
7.3.160.0060.01016.61
7.3.10.0030.00916.65
7.3.00.0040.00916.51
7.2.330.0040.01416.46
7.2.320.0070.01016.65
7.2.310.0090.00616.64
7.2.300.0160.01016.56
7.2.290.0090.00916.44
7.2.130.0060.00616.75
7.2.120.0070.00816.71
7.2.110.0030.00916.87
7.2.100.0100.00116.77
7.2.90.0090.00316.82
7.2.80.0050.00816.88
7.2.70.0060.00616.88
7.2.60.0020.01216.77
7.2.50.0060.00816.90
7.2.40.0020.01216.89
7.2.30.0040.00816.94
7.2.20.0080.00516.60
7.2.10.0050.00916.54
7.2.00.0050.00716.80
7.1.250.0020.00915.49
7.1.200.0280.00615.66
7.1.70.0000.00717.25
7.1.60.0060.00617.13
7.1.50.0500.01732.99
7.1.40.0530.01032.55
7.1.30.0530.01332.52
7.1.20.0430.01332.59
7.1.10.0230.01714.70
7.1.00.0400.00714.74
7.0.200.0030.00616.84
7.0.190.0470.01014.70
7.0.180.0430.01314.27
7.0.170.0530.00714.24
7.0.160.0600.00714.36
7.0.150.0270.01314.29
7.0.140.0370.00714.38
7.0.130.0330.00714.63
7.0.120.0270.01314.63
7.0.110.0330.00714.61
7.0.100.0300.01014.41
7.0.90.0300.01014.20
7.0.80.0370.00314.38
7.0.70.0300.01314.36
7.0.60.0330.00714.34
7.0.50.0300.01014.68
7.0.40.0870.01714.56
7.0.30.0500.01014.50
7.0.20.0270.01014.58
7.0.10.0300.00714.55
7.0.00.0230.01014.55

preferences:
61.21 ms | 401 KiB | 5 Q