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); var_dump($data);

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.0190.00618.42
8.3.50.0140.00316.28
8.3.40.0090.00619.09
8.3.30.0040.01118.98
8.3.20.0080.00018.94
8.3.10.0040.00419.21
8.3.00.0030.00623.66
8.2.180.0230.00416.48
8.2.170.0140.00022.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00819.82
8.2.120.0040.00426.35
8.2.110.0000.01021.04
8.2.100.0080.00417.90
8.2.90.0080.00019.70
8.2.80.0060.00317.97
8.2.70.0060.00317.93
8.2.60.0000.00818.03
8.2.50.0030.00518.10
8.2.40.0000.00719.34
8.2.30.0040.00419.41
8.2.20.0000.00717.91
8.2.10.0000.00717.98
8.2.00.0000.00719.51
8.1.280.0120.00325.92
8.1.270.0080.00023.99
8.1.260.0030.00726.35
8.1.250.0090.00028.09
8.1.240.0060.00323.92
8.1.230.0080.00322.74
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0080.00017.36
8.1.180.0030.00618.10
8.1.170.0040.00418.56
8.1.160.0040.00418.92
8.1.150.0070.00018.74
8.1.140.0000.00717.58
8.1.130.0000.00719.03
8.1.120.0030.00517.58
8.1.110.0000.00717.53
8.1.100.0040.00417.59
8.1.90.0000.00817.47
8.1.80.0080.00017.61
8.1.70.0040.00417.53
8.1.60.0030.00617.69
8.1.50.0040.00417.59
8.1.40.0090.00017.55
8.1.30.0080.00017.61
8.1.20.0000.00717.75
8.1.10.0040.00417.64
8.1.00.0040.00417.43
8.0.300.0080.00021.71
8.0.290.0050.00316.75
8.0.280.0000.00818.41
8.0.270.0070.00017.22
8.0.260.0000.00717.15
8.0.250.0030.00317.12
8.0.240.0030.00316.98
8.0.230.0000.00917.13
8.0.220.0080.00017.05
8.0.210.0000.00716.98
8.0.200.0000.00616.98
8.0.190.0030.00516.99
8.0.180.0000.01217.08
8.0.170.0080.00017.07
8.0.160.0030.00416.99
8.0.150.0080.00016.95
8.0.140.0000.00717.01
8.0.130.0070.00013.41
8.0.120.0040.00417.04
8.0.110.0070.00016.90
8.0.100.0050.00317.06
8.0.90.0000.00717.07
8.0.80.0120.00817.04
8.0.70.0040.00416.91
8.0.60.0080.00016.86
8.0.50.0070.00017.02
8.0.30.0120.00817.07
8.0.20.0180.00917.40
8.0.10.0040.00417.05
8.0.00.0080.01216.85
7.4.330.0050.00015.55
7.4.320.0000.00816.82
7.4.300.0000.00616.67
7.4.290.0030.00316.78
7.4.280.0040.00416.77
7.4.270.0000.00716.66
7.4.260.0070.00016.65
7.4.250.0000.00716.61
7.4.240.0030.00416.83
7.4.230.0030.00316.57
7.4.220.0040.00416.57
7.4.210.0080.00916.70
7.4.200.0030.00316.57
7.4.160.0110.00616.77
7.4.140.0060.01117.86
7.4.130.0070.01116.69
7.4.120.0140.00716.69
7.4.110.0070.01016.60
7.4.100.0070.01016.62
7.4.90.0030.01516.75
7.4.80.0150.00619.39
7.4.70.0070.01416.56
7.4.60.0080.00816.61
7.4.50.0000.01816.46
7.4.40.0110.00816.68
7.4.00.0100.00715.26
7.3.330.0000.00513.10
7.3.320.0030.00313.26
7.3.310.0040.00416.29
7.3.300.0040.00416.38
7.3.290.0070.00016.31
7.3.280.0060.01316.37
7.3.260.0110.01016.44
7.3.240.0050.01216.56
7.3.230.0120.00616.42
7.3.210.0090.00916.40
7.3.200.0120.00916.67
7.3.190.0130.00316.39
7.3.180.0160.00016.53
7.3.170.0070.01416.37
7.3.160.0140.00316.50
7.2.330.0100.00716.67
7.2.320.0080.01416.57
7.2.310.0090.01016.75
7.2.300.0090.01216.62
7.2.290.0110.01116.84
7.2.60.1710.00715.08
7.2.50.2190.00715.25
7.2.40.1620.00915.47
7.2.30.1510.00515.50
7.2.20.1380.01215.55
7.2.10.1230.00815.47
7.2.00.1120.01115.47
7.1.200.0070.00715.90
7.1.170.1720.00613.73
7.1.160.1420.00616.78
7.1.150.1670.00917.21
7.1.140.1500.00717.25
7.1.130.1220.00617.01
7.1.120.1310.00917.14
7.1.110.1350.01416.41
7.1.100.1480.01216.30
7.1.90.1490.01015.96
7.1.80.1180.00716.51
7.1.70.1470.01015.60
7.1.60.1300.01033.17
7.1.50.1280.01333.25
7.1.40.1940.01332.84
7.1.30.2030.01432.85
7.1.20.1650.00932.75
7.1.10.1320.00715.11
7.1.00.1220.00814.97

preferences:
47.63 ms | 401 KiB | 5 Q