3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BigNumber { } interface ExchangeRateProvider { public function getExchangeRate(); } class BaseCurrencyProvider implements ExchangeRateProvider { public function getExchangeRate(): BigNumber { } }

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.120.0040.00418.95
8.3.110.0060.00316.75
8.3.100.0050.00324.06
8.3.90.0040.00426.77
8.3.80.0000.00916.38
8.3.70.0070.01016.58
8.3.60.0160.00018.43
8.3.50.0170.00324.52
8.3.40.0070.00718.70
8.3.30.0100.01018.45
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.240.0030.00518.89
8.2.230.0130.00320.94
8.2.220.0080.00037.54
8.2.210.0000.01526.77
8.2.200.0060.00316.50
8.2.190.0190.00616.58
8.2.180.0070.01425.92
8.2.170.0110.00418.82
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0110.00620.57
8.2.100.0120.00017.72
8.2.90.0040.00417.38
8.2.80.0000.00818.61
8.2.70.0090.00017.50
8.2.60.0080.00017.50
8.2.50.0000.00818.05
8.2.40.0040.00419.65
8.2.30.0000.00717.87
8.2.20.0000.00717.93
8.2.10.0000.00720.90
8.2.00.0000.00819.07
8.1.300.0130.00315.73
8.1.290.0110.00018.88
8.1.280.0090.00925.92
8.1.270.0040.00424.04
8.1.260.0050.00228.09
8.1.250.0000.00828.09
8.1.240.0030.00722.19
8.1.230.0110.00022.11
8.1.220.0110.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0060.00317.23
8.1.180.0000.00718.10
8.1.170.0060.00318.61
8.1.160.0070.00018.81
8.1.150.0000.00818.82
8.1.140.0040.00418.82
8.1.130.0040.00420.17
8.1.120.0030.00517.41
8.1.110.0060.00317.30
8.1.100.0030.00317.35
8.1.90.0080.00017.39
8.1.80.0080.00317.32
8.1.70.0040.00417.38
8.1.60.0040.00417.48
8.1.50.0080.00017.34
8.1.40.0040.00417.39
8.1.30.0030.00517.50
8.1.20.0060.00317.49
8.1.10.0000.00917.31
8.1.00.0080.00017.29
8.0.300.0050.00218.77
8.0.290.0000.00816.58
8.0.280.0000.00718.36
8.0.270.0070.00017.94
8.0.260.0030.00318.26
8.0.250.0070.00016.87
8.0.240.0000.00616.77
8.0.230.0030.00316.92
8.0.220.0040.00416.80
8.0.210.0000.00716.69
8.0.200.0000.00816.77
8.0.190.0040.00416.71
8.0.180.0040.00416.88
8.0.170.0000.00816.81
8.0.160.0000.00716.78
8.0.150.0000.00716.80
8.0.140.0040.00416.77
8.0.130.0030.00313.28
8.0.120.0000.00716.65
8.0.110.0070.00016.79
8.0.100.0000.00716.80
8.0.90.0000.00716.85
8.0.80.0030.01216.79
8.0.70.0000.00716.80
8.0.60.0050.00216.85
8.0.50.0040.00416.77
8.0.30.0060.01017.17
8.0.20.0120.00617.40
8.0.10.0140.00417.40
8.0.00.0080.01117.40
7.4.330.0000.00515.55
7.4.320.0030.00316.45
7.4.300.0070.00016.52
7.4.290.0000.00716.43
7.4.280.0040.00416.46
7.4.270.0030.00316.57
7.4.260.0030.00313.20
7.4.250.0000.00716.41
7.4.240.0030.00416.57
7.4.230.0070.00016.31
7.4.220.0020.00516.53
7.4.210.0050.01016.50
7.4.200.0000.00716.43
7.4.150.0160.00017.40
7.4.140.0070.01117.40
7.4.130.0120.00817.40
7.4.120.0080.00917.40
7.4.110.0070.01117.40
7.4.100.0100.00717.40
7.4.90.0060.01317.40
7.4.80.0030.01517.40
7.4.70.0130.00417.40
7.4.60.0090.00917.40
7.4.50.0130.00417.40
7.4.40.0140.00317.40
7.4.30.0090.00917.40
7.4.20.0070.01017.40
7.4.10.0070.01117.40
7.4.00.0140.00417.40
7.3.330.0070.00016.15
7.3.320.0030.00313.04
7.3.310.0070.00016.16
7.3.300.0040.00416.21
7.3.290.0090.01016.18
7.3.270.0090.00917.40
7.3.260.0120.00817.40
7.3.250.0120.00917.40
7.3.240.0180.00017.40
7.3.230.0100.00717.40
7.3.220.0150.00917.40
7.3.210.0180.00017.40
7.3.200.0080.01117.40
7.3.190.0090.00917.40
7.3.180.0040.01317.40
7.3.170.0110.00617.40
7.3.160.0080.00817.40
7.3.150.0090.00917.40
7.3.140.0050.01317.40
7.3.130.0110.00617.40
7.3.120.0070.01117.40
7.3.110.0100.00717.40
7.3.100.0060.01117.40
7.3.90.0060.01017.40
7.3.80.0120.00617.40
7.3.70.0090.00917.40
7.3.60.0110.00717.40
7.3.50.0130.00317.40
7.3.40.0110.00717.40
7.3.30.0070.01117.40
7.3.20.0110.00817.40
7.3.10.0030.01417.40
7.3.00.0500.00917.40

preferences:
16.74 ms | 403 KiB | 5 Q