3v4l.org

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

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.01016.50
8.3.50.0140.00621.99
8.3.40.0140.00018.67
8.3.30.0120.00318.71
8.3.20.0070.00020.29
8.3.10.0080.00023.48
8.3.00.0090.00019.23
8.2.180.0100.01016.35
8.2.170.0030.01022.96
8.2.160.0120.00320.54
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00717.63
8.2.110.0070.00322.05
8.2.100.0080.00417.68
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0000.00818.04
8.2.50.0040.00418.07
8.2.40.0030.00619.34
8.2.30.0000.00820.54
8.2.20.0040.00417.73
8.2.10.0000.00718.13
8.2.00.0000.00717.93
8.1.280.0040.01125.92
8.1.270.0080.00023.88
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.70
8.1.230.0040.00817.64
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0100.00017.23
8.1.190.0000.00717.35
8.1.180.0040.00418.10
8.1.170.0040.00418.96
8.1.160.0000.00821.92
8.1.150.0000.00718.70
8.1.140.0000.00819.43
8.1.130.0000.00717.57
8.1.120.0070.00017.29
8.1.110.0000.00717.36
8.1.100.0000.00717.41
8.1.90.0030.00517.41
8.1.80.0030.00517.43
8.1.70.0030.00317.32
8.1.60.0080.00017.49
8.1.50.0070.00317.48
8.1.40.0060.00317.49
8.1.30.0050.00317.52
8.1.20.0000.00817.66
8.1.10.0040.00417.49
8.1.00.0080.00017.37
8.0.300.0060.00318.77
8.0.290.0000.00816.75
8.0.280.0080.00018.44
8.0.270.0070.00017.20
8.0.260.0030.00317.21
8.0.250.0030.00516.82
8.0.240.0100.00016.99
8.0.230.0030.00316.88
8.0.220.0050.00216.90
8.0.210.0000.00716.77
8.0.200.0040.00416.88
8.0.190.0030.00516.95
8.0.180.0030.00516.90
8.0.170.0070.00016.96
8.0.160.0030.00316.80
8.0.150.0040.00416.76
8.0.140.0050.00216.84
8.0.130.0060.00013.34
8.0.120.0030.00516.90
8.0.110.0040.00416.95
8.0.100.0040.00416.75
8.0.90.0070.00016.76
8.0.80.0030.01416.77
8.0.70.0040.00416.75
8.0.60.0040.00416.89
8.0.50.0080.00016.84
8.0.30.0080.01416.96
8.0.20.0130.00617.40
8.0.10.0000.00816.91
8.0.00.0090.01116.71
7.4.330.0050.00015.08
7.4.320.0000.00616.55
7.4.300.0060.00016.59
7.4.290.0030.00316.49
7.4.280.0030.00516.58
7.4.270.0030.00316.50
7.4.260.0000.00716.48
7.4.250.0030.00516.57
7.4.240.0010.00716.56
7.4.230.0000.00716.54
7.4.220.0080.00816.52
7.4.210.0090.01216.67
7.4.200.0000.00716.58
7.4.160.0090.00616.61
7.4.150.0040.01617.40
7.4.140.0140.00817.86
7.4.130.0070.01116.52
7.4.120.0140.00816.48
7.4.110.0060.01216.33
7.4.100.0060.01216.59
7.4.90.0090.00616.64
7.4.80.0120.00619.39
7.4.70.0070.01016.57
7.4.60.0040.01216.66
7.4.50.0040.00416.29
7.4.40.0120.00916.40
7.4.30.0060.01216.63
7.4.00.0080.00814.80
7.3.330.0020.00213.16
7.3.320.0000.00513.29
7.3.310.0040.00416.11
7.3.300.0000.00716.34
7.3.290.0070.00716.29
7.3.280.0110.00816.27
7.3.270.0130.00317.40
7.3.260.0140.00316.49
7.3.250.0080.01116.28
7.3.240.0110.00616.38
7.3.230.0070.01016.39
7.3.210.0070.01016.50
7.3.200.0120.00916.55
7.3.190.0070.01016.41
7.3.180.0130.00416.54
7.3.170.0130.00316.42
7.3.160.0060.00916.31
7.2.330.0090.00916.27
7.2.320.0120.00616.26
7.2.310.0060.00916.52
7.2.300.0100.00716.58
7.2.290.0060.01016.72
7.2.60.0030.01216.86
7.2.00.0040.01119.07
7.1.200.0070.00715.68
7.1.100.0070.00718.09
7.1.70.0040.00417.05
7.1.60.0090.01619.43
7.1.50.0060.01616.91
7.1.00.0030.07722.57
7.0.200.0000.00716.42
7.0.60.0100.05319.91
7.0.50.0070.03317.85
7.0.40.0130.05020.18
7.0.30.0330.06020.30
7.0.20.0300.06320.22
7.0.10.0130.07320.30
7.0.00.0030.04320.20
5.6.280.0070.05721.16
5.6.210.0100.07320.67
5.6.200.0130.07318.29
5.6.190.0030.04320.57
5.6.180.0270.08020.48
5.6.170.0230.07320.44
5.6.160.0000.04320.46
5.6.150.0070.08318.23
5.6.140.0100.05318.28
5.6.130.0100.07318.11
5.6.120.0030.05721.13
5.6.110.0200.07020.96
5.6.100.0030.08020.99
5.6.90.0100.04021.05
5.6.80.0100.07320.40
5.5.350.0330.06720.42
5.5.340.0070.08017.96
5.5.330.0030.04720.41
5.5.320.0130.05020.30
5.5.310.0300.07320.36
5.5.300.0070.08017.97
5.5.290.0070.03718.08
5.5.280.0070.08020.77
5.5.270.0070.06720.80
5.5.260.0130.08020.68
5.5.250.0100.08320.69
5.5.240.0100.06320.36
5.4.450.0100.06019.35
5.4.440.0270.05019.15
5.4.430.0200.05319.14
5.4.420.0170.05719.49
5.4.410.0130.05719.18
5.4.400.0230.04719.16
5.4.390.0330.04319.27
5.4.380.0130.05319.26
5.4.370.0400.07319.21
5.4.360.0430.04719.21
5.4.350.0200.05719.21
5.4.340.0200.05019.13
5.4.320.0100.06319.02
5.4.310.0230.04319.02
5.4.300.0330.05319.25
5.4.290.0630.04718.82
5.4.280.0330.06019.22
5.4.270.0670.05319.11
5.4.260.0500.05719.09
5.4.250.0330.06019.14
5.4.240.0500.05319.08
5.4.230.0500.05719.01
5.4.220.0270.04018.91
5.4.210.0400.06019.20
5.4.200.0130.05719.05
5.4.190.0230.04719.16
5.4.180.0070.06019.07
5.4.170.0300.04019.08
5.4.160.0530.05019.23
5.4.150.0300.05719.04
5.4.140.0270.05016.36
5.4.130.0170.05716.43
5.4.120.0430.04716.48
5.4.110.0670.04316.64
5.4.100.0470.06316.68
5.4.90.0600.06016.44
5.4.80.0300.04716.21
5.4.70.0200.05716.48
5.4.60.0530.05716.61
5.4.50.0430.05016.41
5.4.40.0130.04716.52
5.4.30.0430.04716.58
5.4.20.0570.04316.49
5.4.10.0400.05716.14
5.4.00.0530.04015.89

preferences:
38.84 ms | 401 KiB | 5 Q