3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Template = <<<'TEMPLATE' <table cellSpacing="0" cellpadding="0" id="~~TableIDClass~~" class="ContainerTable"> <thead> <tr class="header"> <td class="TableTitle">~~TableName~~</td> </tr> </thead> <tbody class="~~TableIDClass~~ ClickableTableBody"> ~~TemplateStart~~ <tr data-type="~~Data-Type~~" data-id="~~Data-ID~~" data-date="~~Data-Date~~" data-cost="~~Data-Cost~~" class="TableText clickable AddMee"> <td nowrap class="DateColumn">~~Date~~</td> <td nowrap class="JarColumn"></td> <td nowrap class="CategoryColumn">~~Category~~</td> <td nowrap class="NotesColumn">~~Note~~</td> <td nowrap class="CostColumn">~~DefaultCostDot~~$~~Cost~~</td> </tr> ~~TemplateEnd~~ </tbody> <tfoot> <tr> <td norap colspan="5">$<span class="TableTotal"></span></td> </tr> </tfoot> </table> TEMPLATE; $data = preg_replace('/~~TemplateStart~~[\s\S]+?~~TemplateEnd~~/', '', $Template);

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.00618.38
8.3.50.0150.00318.12
8.3.40.0050.01018.62
8.3.30.0110.00418.80
8.3.20.0050.00318.73
8.3.10.0050.00319.14
8.3.00.0040.00423.65
8.2.180.0120.00316.38
8.2.170.0140.00422.96
8.2.160.0030.01020.35
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00420.39
8.2.110.0060.00320.94
8.2.100.0120.00017.90
8.2.90.0000.00817.91
8.2.80.0080.00017.97
8.2.70.0000.00817.80
8.2.60.0040.00418.16
8.2.50.0030.00618.10
8.2.40.0040.00419.30
8.2.30.0050.00319.53
8.2.20.0040.00418.14
8.2.10.0060.00318.07
8.2.00.0030.00319.41
8.1.280.0140.00425.92
8.1.270.0080.00021.98
8.1.260.0110.00326.35
8.1.250.0070.00728.09
8.1.240.0060.00323.95
8.1.230.0110.00022.80
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0000.00817.35
8.1.180.0000.00918.10
8.1.170.0000.00818.65
8.1.160.0000.00718.77
8.1.150.0040.00418.83
8.1.140.0050.00317.67
8.1.130.0000.00819.02
8.1.120.0000.00817.47
8.1.110.0040.00417.46
8.1.100.0000.00717.45
8.1.90.0080.00017.47
8.1.80.0030.00317.56
8.1.70.0030.00317.46
8.1.60.0030.00617.74
8.1.50.0080.00017.66
8.1.40.0000.00817.62
8.1.30.0080.00017.77
8.1.20.0000.00817.77
8.1.10.0040.00417.61
8.1.00.0000.00817.46
8.0.300.0070.00020.03
8.0.290.0080.00016.88
8.0.280.0070.00018.43
8.0.270.0030.00317.21
8.0.260.0030.00317.14
8.0.250.0030.00317.00
8.0.240.0000.00717.11
8.0.230.0030.00617.11
8.0.220.0040.00416.93
8.0.210.0000.00716.93
8.0.200.0000.00617.18
8.0.190.0030.00617.13
8.0.180.0030.00616.96
8.0.170.0030.00517.04
8.0.160.0000.00717.07
8.0.150.0030.00517.06
8.0.140.0030.00316.99
8.0.130.0050.00313.50
8.0.120.0040.00417.10
8.0.110.0000.00717.10
8.0.100.0080.00017.11
8.0.90.0000.00716.86
8.0.80.0080.01017.03
8.0.70.0070.00016.87
8.0.60.0000.00816.94
8.0.50.0040.00416.91
8.0.30.0070.01117.01
8.0.20.0130.00617.40
8.0.10.0040.00417.05
8.0.00.0120.01216.76
7.4.330.0000.00515.55
7.4.320.0000.00816.78
7.4.300.0000.00616.66
7.4.290.0030.00316.62
7.4.280.0000.00816.63
7.4.270.0070.00016.77
7.4.260.0040.00416.65
7.4.250.0070.00016.55
7.4.240.0030.00316.73
7.4.230.0040.00416.72
7.4.220.0000.00916.75
7.4.210.0110.00716.75
7.4.200.0030.00316.66
7.4.160.0060.00916.74
7.4.140.0100.00917.86
7.4.130.0110.00616.60
7.4.120.0110.00916.75
7.4.110.0100.00716.56
7.4.100.0120.00616.73
7.4.90.0160.00616.68
7.4.80.0100.01019.39
7.4.70.0090.00816.59
7.4.60.0090.01216.52
7.4.50.0150.00016.43
7.4.40.0070.01716.56
7.4.10.0070.01115.05
7.4.00.0050.01315.16
7.3.330.0050.00013.35
7.3.320.0050.00013.27
7.3.310.0030.00316.45
7.3.300.0000.00716.18
7.3.290.0000.00716.41
7.3.280.0060.01216.36
7.3.260.0140.00916.53
7.3.240.0110.00716.41
7.3.230.0130.00416.56
7.3.210.0070.01116.38
7.3.200.0120.00616.60
7.3.190.0060.01216.33
7.3.180.0070.01016.32
7.3.170.0130.00516.40
7.3.160.0100.01016.73
7.3.130.0070.01014.78
7.3.120.0070.01015.21
7.3.110.0140.00014.85
7.3.100.0030.01014.74
7.3.90.0030.01514.63
7.3.80.0030.00614.93
7.3.70.0060.00914.84
7.3.60.0000.01414.88
7.3.50.0060.00314.92
7.3.40.0040.01114.93
7.3.30.0080.00815.01
7.3.20.0060.00616.68
7.3.10.0030.00616.48
7.3.00.0030.01316.75
7.2.330.0130.00716.72
7.2.320.0100.01316.71
7.2.310.0090.01516.66
7.2.300.0110.01116.68
7.2.290.0170.00616.66
7.2.260.0070.00714.93
7.2.250.0060.01214.99
7.2.240.0070.01015.23
7.2.230.0070.00315.18
7.2.220.0040.01115.07
7.2.210.0080.00814.96
7.2.200.0090.00615.27
7.2.190.0000.01215.10
7.2.180.0100.00315.08
7.2.170.0100.00715.19
7.2.160.0000.01615.18
7.2.150.0040.00716.92
7.2.140.0000.01316.88
7.2.130.0100.01017.11
7.2.120.0090.00616.97
7.2.110.0060.00316.97
7.2.100.0000.01016.94
7.2.90.0000.01517.01
7.2.80.0060.01017.21
7.2.70.0080.00817.20
7.2.60.0670.00816.19
7.2.50.0570.00816.10
7.2.40.0610.00816.21
7.2.30.0670.00516.36
7.2.20.0640.00816.18
7.2.10.0690.00516.31
7.2.00.0690.00916.13
7.1.330.0080.00615.70
7.1.320.0140.00316.02
7.1.310.0000.00815.78
7.1.300.0060.00615.88
7.1.290.0040.00716.07
7.1.280.0120.00015.91
7.1.270.0060.00615.76
7.1.260.0030.00815.88
7.1.250.0000.01415.96
7.1.240.0040.01016.08
7.1.230.0090.00615.93
7.1.220.0060.00915.77
7.1.210.0040.00915.68
7.1.200.0060.00715.92
7.1.190.0030.00715.91
7.1.180.0060.00915.89
7.1.170.0670.00714.86
7.1.160.0620.01016.53
7.1.150.0590.01016.20
7.1.140.0670.00916.42
7.1.130.0580.01216.27
7.1.120.0630.00716.38
7.1.110.0600.00716.12
7.1.100.0630.00616.31
7.1.90.0570.00815.90
7.1.80.0610.00916.08
7.1.70.0570.00815.42
7.1.60.0710.00824.77
7.1.50.0730.01024.49
7.1.40.0740.01324.30
7.1.30.0700.01324.32
7.1.20.0720.01124.51
7.1.10.0570.00915.48
7.1.00.0690.00815.52
7.0.330.0030.00615.40
7.0.320.0030.01015.48
7.0.310.0090.00615.66
7.0.300.0030.00915.39
7.0.290.0040.00915.36
7.0.280.0030.00615.39
7.0.270.0040.00415.68
7.0.260.0030.01015.04
7.0.250.0030.00715.75
7.0.240.0030.00615.78
7.0.230.0100.00315.60
7.0.220.0100.00315.41
7.0.210.0000.00815.42
7.0.200.0030.00715.39
7.0.190.0100.00315.51
7.0.180.0060.00815.49
7.0.170.0080.00415.50
7.0.160.0040.01215.45
7.0.150.0040.00815.57
7.0.140.0000.01515.22
7.0.130.0030.01315.47
7.0.120.0040.01115.61
7.0.110.0000.01515.41
7.0.100.0030.00915.34
7.0.90.0060.00915.70
7.0.80.0040.01115.50
7.0.70.0070.00315.67
7.0.60.0060.00715.65
7.0.50.0070.00715.57
7.0.40.0030.00613.61
7.0.30.0070.00713.57
7.0.20.0100.00313.70
7.0.10.0000.01213.31
7.0.00.0070.00713.70
5.6.400.0050.00513.91
5.6.390.0070.00714.41
5.6.380.0070.00713.91
5.6.370.0040.01514.51
5.6.360.0060.00614.03
5.6.350.0030.01014.34
5.6.340.0030.01014.47
5.6.330.0030.00914.45
5.6.320.0060.00614.44
5.6.310.0060.00614.03
5.6.300.0070.00714.17
5.6.290.0040.01114.61
5.6.280.0040.01114.65
5.6.270.0030.01314.36
5.6.260.0030.01014.18
5.6.250.0060.00314.13
5.6.240.0060.00614.31
5.6.230.0000.01514.26
5.6.220.0090.00614.21
5.6.210.0090.00914.14
5.6.200.0040.00714.33
5.6.190.0070.00314.21
5.6.180.0100.00714.02
5.6.170.0090.00614.37
5.6.160.0000.00914.42
5.6.150.0030.00714.38
5.6.140.0130.00014.38
5.6.130.0110.00014.54
5.6.120.0080.00414.30
5.6.110.0000.01314.15
5.6.100.0030.01414.04
5.6.90.0030.01014.13
5.6.80.0040.00414.00
5.6.70.0070.00714.35
5.6.60.0070.01014.31
5.6.50.0070.01014.10
5.6.40.0090.00013.86
5.6.30.0090.00013.84
5.6.20.0100.00313.92
5.6.10.0100.00314.09
5.6.00.0000.00814.18

preferences:
32.69 ms | 400 KiB | 5 Q