3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = "/<!--([\s\S]*?)-->/"; $str = "</ul>\n<p>\n Evaluation<!--[if gte mso 9]><xml>\n<o:OfficeDocumentSettings>\n<o:AllowPNG />\n<o:TargetScreenSize>1024x768</o:TargetScreenSize>\n</o:OfficeDocumentSettings>\n</xml><![endif]--><!--[if gte mso 9]><xml>\n<w:WordDocument>\n<w:View>Normal</w:View>\n<w:Zoom>0</w:Zoom>\n<w:HyphenationZone>21</w:HyphenationZone>\n<w:PunctuationKerning />\n<w:ValidateAgainstSchemas />\n<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>\n<w:IgnoreMixedContent>false</w:IgnoreMixedContent>\n<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>\n<w:Compatibility>\n<w:BreakWrappedTables />\n<w:SnapToGridInCell />\n<w:WrapTextWithPunct />\n<w:UseAsianBreakRules />\n<w:DontGrowAutofit />\n</w:Compatibility>\n</w:WordDocument>\n</xml><![endif]--><!--[if gte mso 9]><xml>\n<w:LatentStyles DefLockedState=\"false\" LatentStyleCount=\"156\">\n</w:LatentStyles>\n</xml><![endif]--><!--[if gte mso 10]>\n<style>\n/* Style Definitions */\ntable.MsoNormalTable\n{mso-style-name:\"Normale Tabelle\";\nmso-tstyle-rowband-size:0;\nmso-tstyle-colband-size:0;\nmso-style-noshow:yes;\nmso-style-parent:\"\";\nmso-padding-alt:0cm 5.4pt 0cm 5.4pt;\nmso-para-margin:0cm;\nmso-para-margin-bottom:.0001pt;\nmso-pagination:widow-orphan;\nfont-size:10.0pt;\nfont-family:\"Times New Roman\";\nmso-ansi-language:#0400;\nmso-fareast-language:#0400;\nmso-bidi-language:#0400;}\n</style>\n<![endif]--></p>\n<ul>\n <li>"; $result = preg_replace($re, "*DELETED*", $str); echo $result;

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.0110.00716.61
8.3.50.0110.00821.34
8.3.40.0150.00018.96
8.3.30.0140.00018.97
8.3.20.0070.00020.16
8.3.10.0040.00423.61
8.3.00.0040.00423.46
8.2.180.0070.01116.63
8.2.170.0150.00422.96
8.2.160.0080.00822.36
8.2.150.0070.00324.18
8.2.140.0030.00624.66
8.2.130.0040.00419.95
8.2.120.0070.00026.35
8.2.110.0030.00621.16
8.2.100.0110.00017.84
8.2.90.0000.00819.22
8.2.80.0050.00318.22
8.2.70.0030.00517.75
8.2.60.0000.00817.88
8.2.50.0040.00417.75
8.2.40.0040.00422.34
8.2.30.0070.00519.49
8.2.20.0000.00817.86
8.2.10.0000.00718.11
8.2.00.0000.00718.07
8.1.280.0040.01125.92
8.1.270.0060.00323.88
8.1.260.0060.00328.09
8.1.250.0030.00528.09
8.1.240.0090.00423.86
8.1.230.0040.00820.89
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0060.00317.35
8.1.180.0050.00518.10
8.1.170.0050.00318.64
8.1.160.0050.00220.67
8.1.150.0040.00418.89
8.1.140.0050.00319.61
8.1.130.0070.00017.46
8.1.120.0000.00817.64
8.1.110.0000.00717.59
8.1.100.0000.00717.62
8.1.90.0000.00717.62
8.1.80.0040.00417.59
8.1.70.0030.00317.46
8.1.60.0030.00517.59
8.1.50.0000.00917.62
8.1.40.0030.00517.59
8.1.30.0000.00817.71
8.1.20.0080.00017.74
8.1.10.0060.00317.57
8.1.00.0040.00417.69
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0030.00318.41
8.0.270.0000.00717.27
8.0.260.0040.00716.98
8.0.250.0030.00317.14
8.0.240.0040.00417.13
8.0.230.0030.00317.08
8.0.220.0000.00717.06
8.0.210.0000.00817.00
8.0.200.0000.00617.07
8.0.190.0000.00717.09
8.0.180.0070.00016.89
8.0.170.0000.00817.00
8.0.160.0070.00016.99
8.0.150.0030.00316.98
8.0.140.0040.00416.95
8.0.130.0000.00513.47
8.0.120.0030.00516.98
8.0.110.0000.00716.98
8.0.100.0000.00717.04
8.0.90.0070.00016.91
8.0.80.0070.01016.96
8.0.70.0050.00317.09
8.0.60.0040.00417.01
8.0.50.0040.00416.97
8.0.30.0070.01017.34
8.0.20.0120.00917.44
8.0.10.0000.00817.01
8.0.00.0090.00916.80
7.4.330.0050.00016.79
7.4.320.0000.00716.73
7.4.300.0040.00416.59
7.4.290.0030.00316.79
7.4.280.0090.00016.81
7.4.270.0000.00716.63
7.4.260.0070.00416.61
7.4.250.0000.00816.70
7.4.240.0070.00016.79
7.4.230.0030.00316.79
7.4.220.0150.01216.88
7.4.210.0070.01116.73
7.4.200.0000.00816.67
7.4.160.0070.01016.67
7.4.150.0060.01217.40
7.4.140.0070.01117.86
7.4.130.0110.00816.76
7.4.120.0050.01516.76
7.4.110.0030.01316.51
7.4.100.0110.01116.85
7.4.90.0130.01016.85
7.4.80.0150.00619.39
7.4.70.0100.00716.72
7.4.60.0140.00316.55
7.4.50.0000.01516.72
7.4.40.0060.01016.50
7.4.30.0060.01216.49
7.4.00.0070.00715.15
7.3.330.0000.00613.05
7.3.320.0050.00013.25
7.3.310.0030.00616.22
7.3.300.0070.00016.41
7.3.290.0000.00716.39
7.3.280.0050.01016.35
7.3.270.0100.01017.40
7.3.260.0100.00916.39
7.3.250.0100.00816.55
7.3.240.0110.00916.36
7.3.230.0100.00716.70
7.3.210.0090.00816.47
7.3.200.0090.00919.39
7.3.190.0070.01016.38
7.3.180.0130.00616.29
7.3.170.0080.00816.80
7.3.160.0090.00916.42
7.3.120.0080.01114.86
7.3.110.0100.00714.67
7.3.100.0030.00914.98
7.3.90.0070.01015.14
7.3.80.0040.01114.66
7.3.70.0090.00014.83
7.3.60.0100.00314.73
7.3.50.0050.00514.89
7.3.40.0100.00314.95
7.3.30.0090.00014.94
7.3.20.0030.00616.56
7.3.10.0030.01016.61
7.3.00.0100.00716.79
7.2.330.0040.01416.69
7.2.320.0100.00716.69
7.2.310.0000.01516.68
7.2.300.0110.00616.86
7.2.290.0140.00916.71
7.2.250.0040.01514.78
7.2.240.0070.01415.13
7.2.230.0030.00614.96
7.2.220.0030.01215.37
7.2.210.0090.00614.95
7.2.200.0080.00515.12
7.2.190.0040.01114.95
7.2.180.0060.00915.22
7.2.170.0110.00315.26
7.2.130.0080.00617.10
7.2.120.0080.00816.77
7.2.110.0000.00916.99
7.2.100.0060.00817.00
7.2.90.0130.00316.96
7.2.80.0110.00316.78
7.2.70.0090.00617.07
7.2.60.0060.00816.93
7.2.50.0100.00717.20
7.2.40.0030.00716.82
7.2.30.0090.00616.99
7.2.20.0040.01116.87
7.2.10.0040.00417.11
7.2.00.0070.00716.95
7.1.330.0060.01015.96
7.1.320.0030.00615.84
7.1.310.0140.00316.01
7.1.300.0060.00915.77
7.1.290.0060.00916.06
7.1.280.0070.00715.99
7.1.270.0080.00315.77
7.1.260.0070.00716.19
7.1.250.0040.00415.77
7.1.200.0070.00715.74
7.1.100.0080.00318.26
7.1.70.0040.00817.43
7.1.60.0130.01319.30
7.1.50.0100.01017.18
7.1.00.0100.07022.47
7.0.200.0040.00716.89
7.0.60.0170.03021.73
7.0.50.0100.07717.68
7.0.40.0000.07020.06
7.0.30.0300.03720.11
7.0.20.0330.04320.17
7.0.10.0030.07320.19
7.0.00.0130.04320.14
5.6.280.0070.03320.86
5.6.210.0070.08020.50
5.6.200.0030.08318.18
5.6.190.0030.06320.61
5.6.180.0500.04020.57
5.6.170.0230.06720.43
5.6.160.0030.08020.61
5.6.150.0070.07718.12
5.6.140.0100.04718.18
5.6.130.0100.05718.11
5.6.120.0070.05321.03
5.6.110.0100.08320.98
5.6.100.0070.05321.04
5.6.90.0030.07321.13
5.6.80.0100.05020.39
5.5.350.0400.06720.49
5.5.340.0030.05017.95
5.5.330.0130.07320.40
5.5.320.0500.04320.30
5.5.310.0270.07020.21
5.5.300.0070.03317.91
5.5.290.0100.04718.01
5.5.280.0070.05020.77
5.5.270.0030.04720.87
5.5.260.0130.07720.64
5.5.250.0030.08020.58
5.5.240.0070.09020.19

preferences:
40.15 ms | 401 KiB | 5 Q