3v4l.org

run code in 300+ PHP versions simultaneously
<?php $calendar_code = ' <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="text/html; charset=us-ascii"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style> <!-- @font-face {font-family:"Cambria Math"} @font-face font-family:"Calibri",sans-serif} p.msonormal0, li.msonormal0, div.msonormal0 .MsoChpDefault {font-size:10.0pt; font-family:"Calibri",sans-serif} @page WordSection1 {margin:72.0pt 72.0pt 72.0pt 72.0pt} div.WordSection1 {} ol {margin-bottom:0cm} ul {margin-bottom:0cm} --> </style> </head> <body lang="EN-GB" link="#0563C1" vlink="#954F72"> <div class="WordSection1"> <p class="MsoNormal">This is a test of the agenda and objectives format</p> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">This shouldn’t get picked up</p> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">Dasdasdasd d asda sd&nbsp; : asd obe: sad neither shood this</p> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">Objective: This is how the object should look, this is a long one</p> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">Agenda:</p> <p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Make like a tree</p> <p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>And</p> <p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">3.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Get out of here</p> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">Some more stuff here, and here and ::: ;s</p> <p class="MsoNormal">Sadfdsf sdfdfeswrfew </p> </div> </body> </html> '; function uniord($s) { return unpack('V', iconv('UTF-8', 'UCS-4LE', $s))[1]; } $strip = html_entity_decode(strip_tags($calendar_code)); preg_match_all("/^(\d+\.)[\s\x{00a0}]+([^\r\n]+)(?:[\r\n]*)/mu", $strip, $matches); print_r($matches);

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.4.130.0090.00618.13
8.4.120.0090.00825.83
8.4.110.0130.00922.29
8.4.100.0100.00517.80
8.4.90.0090.01120.82
8.4.80.0110.00918.94
8.4.70.0050.00718.16
8.4.60.0120.00818.96
8.4.50.0110.01020.31
8.4.40.0130.00324.07
8.4.30.0080.00417.70
8.4.20.0100.01017.80
8.4.10.0090.00017.61
8.3.260.0080.01116.85
8.3.250.0050.00418.87
8.3.240.0070.01016.62
8.3.230.0090.00916.97
8.3.220.0060.00218.91
8.3.210.0030.00516.79
8.3.200.0060.00316.85
8.3.190.0110.00717.13
8.3.180.0080.01117.19
8.3.170.0050.00516.97
8.3.160.0060.01218.44
8.3.150.0000.00820.78
8.3.140.0090.00916.71
8.3.130.0000.01018.78
8.3.120.0070.00418.96
8.3.110.0080.00020.94
8.3.100.0100.01024.06
8.3.90.0110.00426.77
8.3.80.0000.00918.68
8.3.70.0090.00618.43
8.3.60.0140.00416.88
8.3.50.0140.00522.89
8.3.40.0110.00418.97
8.3.30.0110.01118.78
8.3.20.0040.00421.65
8.3.10.0030.00521.78
8.3.00.0080.00019.84
8.2.290.0080.01120.64
8.2.280.0130.00618.37
8.2.270.0110.00419.03
8.2.260.0120.00318.47
8.2.250.0080.00816.72
8.2.240.0060.00317.52
8.2.230.0040.01122.58
8.2.220.0030.00737.54
8.2.210.0180.00026.77
8.2.200.0090.00318.41
8.2.190.0070.00718.66
8.2.180.0040.01118.32
8.2.170.0140.00322.96
8.2.160.0100.00322.26
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00022.23
8.2.120.0000.00726.35
8.2.110.0070.00320.41
8.2.100.0070.00717.88
8.2.90.0000.01019.72
8.2.80.0030.00618.92
8.2.70.0050.00317.50
8.2.60.0090.00017.93
8.2.50.0030.00618.07
8.2.40.0030.00518.22
8.2.30.0050.00318.17
8.2.20.0040.00417.97
8.2.10.0040.00418.15
8.2.00.0040.00418.11
8.1.330.0110.00821.75
8.1.320.0110.00816.55
8.1.310.0040.01216.27
8.1.300.0060.00318.25
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0030.00523.99
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0090.00023.65
8.1.230.0040.00722.20
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00817.25
8.1.190.0040.00417.35
8.1.180.0030.00618.10
8.1.170.0040.00418.71
8.1.160.0040.00418.92
8.1.150.0000.00718.81
8.1.140.0000.00719.54
8.1.130.0000.00717.71
8.1.120.0040.00417.62
8.1.110.0000.00817.63
8.1.100.0070.00317.55
8.1.90.0000.00817.46
8.1.80.0040.00417.61
8.1.70.0030.00517.46
8.1.60.0000.00917.73
8.1.50.0030.00517.64
8.1.40.0040.00417.51
8.1.30.0080.00017.79
8.1.20.0040.00417.78
8.1.10.0030.00617.68
8.1.00.0090.00017.62
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.42
8.0.270.0030.00317.02
8.0.260.0000.00617.23
8.0.250.0030.00317.14
8.0.240.0040.00417.07
8.0.230.0070.00017.02
8.0.220.0000.00717.15
8.0.210.0030.00317.08
8.0.200.0030.00317.08
8.0.190.0040.00417.00
8.0.180.0000.00717.05
8.0.170.0040.00416.96
8.0.160.0030.00617.13
8.0.150.0000.00816.96
8.0.140.0000.00816.86
8.0.130.0030.00313.40
8.0.120.0050.00217.11
8.0.110.0070.00017.14
8.0.100.0040.00417.14
8.0.90.0040.00417.12
8.0.80.0120.00317.05
8.0.70.0000.00816.98
8.0.60.0000.00717.10
8.0.50.0030.00617.10
8.0.30.0090.00717.23
8.0.20.0080.01017.40
8.0.10.0080.00017.05
8.0.00.0040.01216.97
7.4.330.0050.00015.08
7.4.320.0030.00316.80
7.4.300.0000.00916.87
7.4.290.0070.00016.74
7.4.280.0080.00416.73
7.4.270.0000.00816.85
7.4.260.0000.00716.80
7.4.250.0000.00716.80
7.4.240.0030.00316.74
7.4.230.0040.00416.62
7.4.220.0100.01016.79
7.4.210.0110.00416.68
7.4.200.0000.00716.61
7.4.160.0050.01016.77
7.4.150.0110.00717.40
7.4.140.0100.00917.86
7.4.130.0100.00916.65
7.4.120.0050.01316.71
7.4.110.0030.01416.51
7.4.100.0100.00816.71
7.4.90.0060.01316.64
7.4.80.0060.01119.39
7.4.70.0190.00516.48
7.4.60.0060.01316.59
7.4.50.0100.00916.48
7.4.40.0130.00716.61
7.4.30.0160.00816.00
7.4.20.0320.02116.49
7.4.10.0030.01716.25
7.4.00.0070.00915.86
7.3.330.0000.00813.22
7.3.320.0060.00013.36
7.3.310.0030.00316.41
7.3.300.0040.00416.23
7.3.290.0110.00516.32
7.3.280.0110.00716.41
7.3.270.0070.01017.40
7.3.260.0140.00816.54
7.3.250.0100.00816.60
7.3.240.0150.00716.44
7.3.230.0380.00916.43
7.3.210.0110.00716.40
7.3.200.0060.01216.47
7.3.190.0100.01016.40
7.3.180.0110.00816.43
7.3.170.0100.00816.29
7.3.160.0150.00816.54
7.3.150.0110.01116.27
7.3.140.0160.01316.43
7.3.130.0140.00916.21
7.3.120.0150.00916.29
7.3.110.0080.01216.36
7.3.100.0150.00716.18
7.3.90.0210.00716.38
7.3.80.0200.01016.51
7.3.70.0160.01016.42
7.3.60.0180.01116.39
7.3.50.0190.00616.46
7.3.40.0120.01216.35
7.3.30.0030.01616.34
7.3.20.0150.00716.39
7.3.10.0070.01216.70
7.3.00.0170.00516.38
7.2.330.0090.00916.70
7.2.320.0060.01216.54
7.2.310.0120.01016.71
7.2.300.0140.00916.60
7.2.290.0190.00616.65
7.2.280.0130.01016.55
7.2.270.0150.01516.41
7.2.260.0110.01116.51
7.2.250.0180.00716.71
7.2.240.0090.01416.57
7.2.230.0200.00316.50
7.2.220.0180.00716.48
7.2.210.0200.00816.61
7.2.200.0140.00816.43
7.2.190.0140.01416.67
7.2.180.0130.00816.73
7.2.170.0290.00016.70
7.2.160.0150.00716.56
7.2.150.0120.01116.77
7.2.140.0030.01616.52
7.2.130.0080.01116.82
7.2.120.0110.00616.70
7.2.110.0120.00916.76
7.2.100.0100.00916.66
7.2.90.0080.01216.63
7.2.80.0160.00416.86
7.2.70.0090.01116.75
7.2.60.0100.01016.73
7.2.50.0140.00816.68
7.2.40.0070.01516.73
7.2.30.0070.01816.71
7.2.20.0150.00616.78
7.2.10.0110.00716.78
7.2.00.0140.00216.84
7.1.330.0110.00715.64
7.1.320.0130.01215.90
7.1.310.0100.01015.78
7.1.300.0260.00515.82
7.1.290.0270.00015.88
7.1.280.0230.00315.70
7.1.270.0210.00715.75
7.1.260.0190.00815.63
7.1.250.0120.00715.88
7.1.240.0210.01215.67
7.1.230.0220.00515.77
7.1.220.0190.00415.54
7.1.210.0170.00015.63
7.1.200.0120.00315.74
7.1.190.0100.01015.63
7.1.180.0090.00915.75
7.1.170.0100.01015.62
7.1.160.0540.01415.77
7.1.150.0470.00715.54
7.1.140.0230.00615.64
7.1.130.0140.01415.63
7.1.120.0190.00815.52
7.1.110.0060.01315.60
7.1.100.0160.00615.64
7.1.90.0190.00615.75
7.1.80.0080.01115.63
7.1.70.0070.01116.45
7.1.60.0120.00815.49
7.1.50.0160.00315.67
7.1.40.0150.00315.54
7.1.30.0070.01115.65
7.1.20.0060.00915.76
7.1.10.0080.00815.57
7.1.00.0100.04518.99
7.0.330.0210.00715.16
7.0.320.0220.00915.27
7.0.310.0060.01115.41
7.0.300.0340.00415.22
7.0.290.0160.01315.27
7.0.280.0290.00015.31
7.0.270.0200.01415.37
7.0.260.0080.01215.08
7.0.250.0120.01115.16
7.0.240.0140.00915.33
7.0.230.0140.00715.44
7.0.220.0120.01215.55
7.0.210.0360.00915.33
7.0.200.0090.00916.18
7.0.190.0150.00615.57
7.0.180.0060.00915.32
7.0.170.0070.01115.45
7.0.160.0080.01215.43
7.0.150.0050.01115.23
7.0.140.0130.00415.42
7.0.130.0210.00715.43
7.0.120.0260.00415.49
7.0.110.0210.01515.42
7.0.100.0270.00615.30
7.0.90.0140.03517.75
7.0.80.0370.02717.74
7.0.70.0130.03517.70
7.0.60.0230.03417.73
7.0.50.0150.03617.81
7.0.40.0170.02917.79
7.0.30.0250.03817.92
7.0.20.0250.03317.88
7.0.10.0220.03717.91
7.0.00.0240.03217.78
5.6.400.0230.00815.50
5.6.390.0220.00616.08
5.6.380.0100.01015.97
5.6.370.0090.01216.07
5.6.360.0220.01515.80
5.6.350.0250.00816.06
5.6.340.0120.02015.73
5.6.330.0180.01415.96
5.6.320.0100.01415.98
5.6.310.0070.01715.80
5.6.300.0160.00816.07
5.6.290.0060.01315.77
5.6.280.0260.00915.80
5.6.270.0270.00815.76
5.6.260.0130.01615.38
5.6.250.0130.01715.84
5.6.240.0180.04018.30
5.6.230.0160.04218.41
5.6.220.0120.04018.14
5.6.210.0140.03618.36
5.6.200.0140.04818.49
5.6.190.0120.04018.42
5.6.180.0150.03718.44
5.6.170.0190.03118.52
5.6.160.0110.03918.45
5.6.150.0150.03718.45
5.6.140.0200.04318.42
5.6.130.0170.04118.54
5.6.120.0110.04418.57
5.6.110.0160.03618.33
5.6.100.0110.03818.43
5.6.90.0090.03618.48
5.6.80.0090.04218.07
5.6.70.0160.03018.18
5.6.60.0130.04018.15
5.6.50.0100.04518.02
5.6.40.0130.03418.20
5.6.30.0110.03218.19
5.6.20.0060.03818.13
5.6.10.0220.02318.01
5.6.00.0140.03118.08

preferences:
29.15 ms | 403 KiB | 5 Q