3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Aggregation { protected function callAggregation($method, $arguments) { var_dump($method, $arguments); } } class AggregateWithUse { use Aggregation { Aggregation::callAggregation as __call; } } class AggregateManually { use Aggregation; public function __call($method, $arguments) { $this->callAggregation($method, $arguments); } } (new AggregateWithUse())->test(42); (new AggregateManually())->test(42);

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.00416.50
8.3.50.0090.00922.10
8.3.40.0100.00318.71
8.3.30.0070.00718.95
8.3.20.0000.00720.39
8.3.10.0040.00421.90
8.3.00.0030.00717.50
8.2.180.0090.00618.41
8.2.170.0120.00322.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0080.00022.30
8.2.110.0060.00322.23
8.2.100.0040.00817.78
8.2.90.0000.00819.13
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0060.00317.90
8.2.50.0000.00818.07
8.2.40.0040.00419.82
8.2.30.0000.00718.07
8.2.20.0070.00417.61
8.2.10.0040.00418.00
8.2.00.0030.00617.54
8.1.280.0070.00725.92
8.1.270.0040.00423.91
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0000.00923.73
8.1.230.0040.00719.08
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.22
8.1.190.0070.00017.41
8.1.180.0100.00018.76
8.1.170.0080.00018.65
8.1.160.0040.00421.92
8.1.150.0040.00418.57
8.1.140.0040.00717.36
8.1.130.0030.00317.75
8.1.120.0030.00417.47
8.1.110.0020.00517.41
8.1.100.0030.00717.38
8.1.90.0040.00417.41
8.1.80.0030.00317.27
8.1.70.0040.00417.33
8.1.60.0030.00617.46
8.1.50.0040.00417.53
8.1.40.0000.00817.35
8.1.30.0080.00017.56
8.1.20.0000.00717.51
8.1.10.0040.00417.51
8.1.00.0030.00517.24
8.0.300.0030.00618.77
8.0.290.0030.00517.05
8.0.280.0030.00318.40
8.0.270.0070.00017.32
8.0.260.0030.00317.25
8.0.250.0030.00316.97
8.0.240.0030.00316.96
8.0.230.0040.00416.93
8.0.220.0030.00316.79
8.0.210.0030.00316.71
8.0.200.0030.00316.87
8.0.190.0000.00716.89
8.0.180.0070.00416.78
8.0.170.0000.00816.74
8.0.160.0040.00416.79
8.0.150.0000.00716.81
8.0.140.0040.00416.65
8.0.130.0030.00313.27
8.0.120.0040.00416.73
8.0.110.0070.00016.70
8.0.100.0000.00716.88
8.0.90.0000.00716.79
8.0.80.0060.00916.86
8.0.70.0000.00816.80
8.0.60.0040.00416.86
8.0.50.0000.00816.66
8.0.30.0140.00517.07
8.0.20.0090.00917.40
8.0.10.0070.00016.97
8.0.00.0110.00716.61
7.4.330.0020.00215.14
7.4.320.0000.00616.59
7.4.300.0030.00316.62
7.4.290.0070.00016.43
7.4.280.0070.00216.61
7.4.270.0000.00716.50
7.4.260.0000.00716.57
7.4.250.0000.00716.46
7.4.240.0020.00516.59
7.4.230.0030.00316.57
7.4.220.0070.01016.62
7.4.210.0030.01016.49
7.4.200.0040.00416.62
7.4.190.0080.00016.64
7.4.160.0060.01016.50
7.4.150.0130.00317.40
7.4.140.0060.01217.86
7.4.130.0070.00916.48
7.4.120.0090.01216.61
7.4.110.0150.00716.63
7.4.100.0110.01416.40
7.4.90.0150.00316.41
7.4.80.0100.00919.39
7.4.70.0140.01116.36
7.4.60.0150.00316.34
7.4.50.0040.00016.40
7.4.40.0040.01422.77
7.4.30.0080.00816.39
7.4.00.0110.00314.77
7.3.330.0060.00013.23
7.3.320.0000.00613.19
7.3.310.0040.00416.11
7.3.300.0000.00716.10
7.3.290.0040.01316.22
7.3.280.0130.00416.24
7.3.270.0110.00617.40
7.3.260.0170.00716.28
7.3.250.0100.01116.27
7.3.240.0090.00916.34
7.3.230.0130.00416.39
7.3.210.0180.00016.28
7.3.200.0060.01219.39
7.3.190.0120.01216.28
7.3.180.0060.01016.23
7.3.170.0060.00916.38
7.3.160.0080.00816.29
7.3.120.0110.00314.79
7.2.330.0090.01016.56
7.2.320.0080.01116.66
7.2.310.0100.00716.70
7.2.300.0110.00716.43
7.2.290.0090.00916.38
7.2.00.0000.01619.17
7.1.200.0030.01015.86
7.1.100.0040.01118.31
7.1.70.0030.00316.89
7.1.60.0070.01719.46
7.1.50.0070.01616.98
7.1.00.0070.07322.54
7.0.200.0000.00816.81
7.0.140.0030.07321.91
7.0.60.0070.04719.95
7.0.50.0030.08717.86
7.0.40.0100.08720.21
7.0.30.0230.08020.07
7.0.20.0270.04720.23
7.0.10.0070.09020.08
7.0.00.0130.07720.18
5.6.280.0000.07720.87
5.6.210.0130.08320.51
5.6.200.0030.07318.19
5.6.190.0030.04320.61
5.6.180.0100.04720.67
5.6.170.0330.06720.51
5.6.160.0100.04720.45
5.6.150.0130.04718.28
5.6.140.0130.07018.14
5.6.130.0130.05318.16
5.6.120.0030.09321.00
5.6.110.0170.07021.02
5.6.100.0200.07720.89
5.6.90.0070.07720.96
5.6.80.0070.06320.54
5.6.70.4470.03720.43
5.5.350.0130.05020.47
5.5.340.0100.08018.05
5.5.330.0170.05720.41
5.5.320.0270.05320.19
5.5.310.0170.05020.32
5.5.300.0070.08018.04
5.5.290.0100.03718.05
5.5.280.0070.05320.88
5.5.270.0100.05020.87
5.5.260.0100.06320.66
5.5.250.0100.07720.66
5.5.240.0300.07020.28
5.4.450.0900.06719.59
5.4.440.0900.06019.47
5.4.430.0930.04719.32
5.4.420.0130.05019.46
5.4.410.0830.06319.42
5.4.400.0770.05019.28
5.4.390.0900.06019.25
5.4.380.0270.05718.59
5.4.370.0330.06018.74
5.4.360.0270.06318.48
5.4.350.0330.06318.79
5.4.340.0270.05318.50
5.4.320.0050.03912.50
5.4.310.0090.03512.50
5.4.300.0070.04212.51
5.4.290.0090.05012.48
5.4.280.0110.06712.38
5.4.270.0220.07712.38
5.4.260.0100.05212.39
5.4.250.0280.07412.38
5.4.240.0260.08212.38
5.4.230.0140.09212.38
5.4.220.0110.05612.38
5.4.210.0140.05212.38
5.4.200.0130.05212.38
5.4.190.0180.08612.37
5.4.180.0100.05912.37
5.4.170.0120.07012.39
5.4.160.0100.06312.38
5.4.150.0200.09012.37
5.4.140.0210.08212.05
5.4.130.0130.08012.05
5.4.120.0100.05612.00
5.4.110.0150.05612.00
5.4.100.0240.05212.00
5.4.90.0110.05512.00
5.4.80.0150.08912.00
5.4.70.0120.06112.00
5.4.60.0160.06412.00
5.4.50.0170.05512.00
5.4.40.0160.08211.99
5.4.30.0100.03611.98
5.4.20.0090.03611.98
5.4.10.0070.03811.98
5.4.00.0030.04111.47
5.3.290.0040.04712.80
5.3.280.0090.03812.71
5.3.270.0120.04012.73
5.3.260.0110.04212.72
5.3.250.0080.03912.71
5.3.240.0100.03812.72
5.3.230.0090.04612.71
5.3.220.0060.04912.68
5.3.210.0070.04112.68
5.3.200.0100.03712.68
5.3.190.0120.03612.68
5.3.180.0180.05812.67
5.3.170.0210.08112.66
5.3.160.0250.05912.67
5.3.150.0110.07712.68
5.3.140.0100.07212.66
5.3.130.0130.08612.66
5.3.120.0220.07112.66
5.3.110.0290.08812.66
5.3.100.0130.08112.12
5.3.90.0150.09312.08
5.3.80.0150.05712.07
5.3.70.0250.08212.07
5.3.60.0270.10212.06
5.3.50.0250.09212.00
5.3.40.0120.10412.00
5.3.30.0390.09511.95
5.3.20.0220.09311.73
5.3.10.0120.10711.70
5.3.00.0210.11111.68
5.2.170.0250.0729.18
5.2.160.0150.0679.18
5.2.150.0210.0689.18
5.2.140.0220.0809.18
5.2.130.0080.0889.14
5.2.120.0340.0699.14
5.2.110.0270.0669.14
5.2.100.0210.0549.14
5.2.90.0100.0459.14
5.2.80.0060.0469.14
5.2.70.0110.0519.14
5.2.60.0140.0629.09
5.2.50.0090.0759.06
5.2.40.0260.0609.03
5.2.30.0220.0609.01
5.2.20.0210.0689.00
5.2.10.0260.0548.92
5.2.00.0220.0548.79
5.1.60.0060.0258.06
5.1.50.0070.0308.06
5.1.40.0100.0618.05
5.1.30.0180.0508.39
5.1.20.0210.0548.41
5.1.10.0350.0628.14
5.1.00.0140.0708.14
5.0.50.0170.0366.62
5.0.40.0090.0356.48
5.0.30.0310.1126.29
5.0.20.0170.0536.27
5.0.10.0140.0436.24
5.0.00.0120.0616.23
4.4.90.0090.0414.77
4.4.80.0100.0414.75
4.4.70.0050.0384.75
4.4.60.0090.0444.75
4.4.50.0120.0474.77
4.4.40.0120.0584.71
4.4.30.0210.0324.76
4.4.20.0120.0344.84
4.4.10.0180.0434.85
4.4.00.0070.0584.76
4.3.110.0060.0504.67
4.3.100.0050.0214.66
4.3.90.0160.0444.63
4.3.80.0060.0514.59
4.3.70.0060.0374.63
4.3.60.0140.0384.63
4.3.50.0090.0214.63
4.3.40.0050.0384.54
4.3.30.0070.0343.28
4.3.20.0080.0333.25
4.3.10.0090.0443.22
4.3.00.0330.00710.31

preferences:
58.45 ms | 401 KiB | 5 Q