3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function test($bar = null) { var_dump(func_get_args()); } } class Baz extends Foo { public function test(...$args) { parent::test(...$args); } } $bar = new Bar(); $bar->test(); $foo = new Foo(); $foo->test();

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.0060.01216.75
8.3.50.0130.00917.93
8.3.40.0110.00719.02
8.3.30.0110.00718.79
8.3.20.0080.00020.33
8.3.10.0080.00023.66
8.3.00.0050.00319.26
8.2.180.0100.01018.54
8.2.170.0120.00622.96
8.2.160.0070.00720.35
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00617.50
8.2.110.0000.01122.05
8.2.100.0110.00017.93
8.2.90.0080.00019.07
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00317.91
8.2.50.0050.00318.07
8.2.40.0040.00419.32
8.2.30.0070.00020.66
8.2.20.0000.00717.67
8.2.10.0050.00317.98
8.2.00.0000.00817.98
8.1.280.0140.00725.92
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.61
8.1.230.0090.00317.66
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.49
8.1.160.0040.00421.86
8.1.150.0030.00718.70
8.1.140.0080.00019.30
8.1.130.0030.00317.63
8.1.120.0040.00417.36
8.1.110.0080.00017.38
8.1.100.0000.00717.33
8.1.90.0000.00717.21
8.1.80.0000.00717.30
8.1.70.0000.00717.23
8.1.60.0030.00517.50
8.1.50.0000.00717.50
8.1.40.0040.00417.36
8.1.30.0000.00917.49
8.1.20.0060.00317.55
8.1.10.0040.00417.43
8.1.00.0080.00017.44
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0030.00318.38
8.0.270.0040.00417.23
8.0.260.0060.00017.19
8.0.250.0000.00717.01
8.0.240.0070.00316.87
8.0.230.0000.00716.96
8.0.220.0040.00416.86
8.0.210.0050.00216.91
8.0.200.0000.00616.93
8.0.190.0000.00816.98
8.0.180.0000.00816.89
8.0.170.0000.00816.90
8.0.160.0020.00516.95
8.0.150.0000.00716.84
8.0.140.0080.00016.85
8.0.130.0030.00313.32
8.0.120.0000.00816.90
8.0.110.0040.00416.79
8.0.100.0050.00316.79
8.0.90.0050.00316.77
8.0.80.0100.00716.88
8.0.70.0000.00716.92
8.0.60.0040.00416.73
8.0.50.0030.00316.75
8.0.30.0080.01016.95
8.0.20.0110.00717.40
8.0.10.0040.00417.04
8.0.00.0070.01516.73
7.4.330.0050.00015.08
7.4.320.0000.00816.51
7.4.300.0070.00016.50
7.4.290.0050.00216.51
7.4.280.0000.00816.54
7.4.270.0030.00316.42
7.4.260.0000.00716.47
7.4.250.0070.00016.39
7.4.240.0000.00716.53
7.4.230.0000.00716.36
7.4.220.0100.00916.48
7.4.210.0100.01016.38
7.4.200.0040.00416.63
7.4.160.0090.00616.46
7.4.150.0140.00317.40
7.4.140.0080.01517.86
7.4.130.0100.00616.50
7.4.120.0060.01316.43
7.4.110.0110.00716.57
7.4.100.0140.00616.54
7.4.90.0130.00316.44
7.4.80.0070.01319.39
7.4.70.0100.00716.34
7.4.60.0030.01316.43
7.4.50.0030.00616.31
7.4.40.0100.00716.15
7.4.30.0100.01316.62
7.4.00.0070.00714.61
7.3.330.0050.00013.07
7.3.320.0000.00513.29
7.3.310.0030.00416.21
7.3.300.0070.00016.15
7.3.290.0120.00616.27
7.3.280.0070.00916.26
7.3.270.0070.01117.40
7.3.260.0170.00016.50
7.3.250.0070.01116.34
7.3.240.0090.00916.27
7.3.230.0070.01016.50
7.3.210.0040.01816.23
7.3.200.0120.00316.37
7.3.190.0100.00716.27
7.3.180.0130.00316.41
7.3.170.0130.00316.48
7.3.160.0080.00816.50
7.3.10.0090.00616.17
7.3.00.0160.00316.18
7.2.330.0100.00716.59
7.2.320.0030.02016.55
7.2.310.0080.01116.42
7.2.300.0100.00716.26
7.2.290.0070.01316.39
7.2.130.0070.01016.21
7.2.120.0110.00716.48
7.2.110.0120.00616.09
7.2.100.0150.00616.48
7.2.90.0170.00716.30
7.2.80.0040.01716.26
7.2.70.0110.01116.59
7.2.60.0180.01316.67
7.2.50.0140.00716.18
7.2.40.0100.01016.24
7.2.30.0100.01016.40
7.2.20.0100.01016.46
7.2.10.0170.00416.65
7.2.00.0080.01117.80
7.1.250.0040.00915.29
7.1.200.0040.00415.68
7.1.100.0000.01218.05
7.1.70.0000.00816.97
7.1.60.0100.01019.43
7.1.50.0090.01216.89
7.1.00.0030.07022.40
7.0.200.0530.00714.27
7.0.60.0070.08719.95
7.0.50.0100.06717.91
7.0.40.0070.05720.11
7.0.30.0300.08020.11
7.0.20.0230.07720.23
7.0.10.0030.06020.12
7.0.00.0100.08020.32
5.6.280.0030.05321.08
5.6.210.0170.06720.61
5.6.200.0170.05018.18
5.6.190.0030.06320.77
5.6.180.0200.04320.61
5.6.170.0170.07020.45
5.6.160.0100.05020.70
5.6.150.0070.07718.15
5.6.140.0000.05018.18
5.6.130.0030.05018.21
5.6.120.0170.07321.13
5.6.110.0070.07720.98
5.6.100.0000.09021.11
5.6.90.0030.08321.11
5.6.80.0070.06320.51
5.5.350.0300.06320.36
5.5.340.0070.07317.95
5.5.330.0070.08320.32
5.5.320.0270.06720.20
5.5.310.0330.07020.34
5.5.300.0030.09017.95
5.5.290.0070.07018.08
5.5.280.0030.08020.88
5.5.270.0070.04720.87
5.5.260.0030.07020.88
5.5.250.0030.06020.59
5.5.240.0100.06720.36
5.4.450.0670.06019.71
5.4.440.0700.05319.61
5.4.430.0770.05319.58
5.4.420.0700.06019.46
5.4.410.0900.06319.05
5.4.400.0670.05719.29
5.4.390.0700.07018.84
5.4.380.0800.06719.06
5.4.370.0770.06319.06
5.4.360.0700.05019.29
5.4.350.0600.04719.13
5.4.340.0530.05719.14
5.4.320.0470.06018.84
5.4.310.0600.05019.15
5.4.300.0570.05319.25
5.4.290.0800.06018.87
5.4.280.0700.05019.15
5.4.270.0700.05319.16
5.4.260.0570.05319.14
5.4.250.0770.04319.28
5.4.240.0670.05319.12
5.4.230.0730.05319.14
5.4.220.0730.04719.14
5.4.210.0630.06019.37
5.4.200.0830.05019.00
5.4.190.0730.06719.28
5.4.180.0770.07719.00
5.4.170.0670.07018.86
5.4.160.0530.05718.98
5.4.150.0730.05019.13
5.4.140.0700.04716.61
5.4.130.0600.05316.35
5.4.120.0570.05716.75
5.4.110.0730.06016.67
5.4.100.0700.05716.67
5.4.90.0730.04016.33
5.4.80.0630.05016.63
5.4.70.0670.05016.63
5.4.60.0670.05016.39
5.4.50.0570.04716.41
5.4.40.0600.05716.25
5.4.30.0630.04716.54
5.4.20.0630.05016.54
5.4.10.0700.04716.54
5.4.00.0870.05315.96

preferences:
46.48 ms | 400 KiB | 5 Q