3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct($bar, $baz, $quix) { var_dump($bar,$baz,$quix); } } class Bar extends Foo { public function __construct(...$args) { parent::__construct(...$args); } } $bar = new Bar(1,2,3);

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.0100.01016.49
8.3.50.0110.00716.71
8.3.40.0070.00718.50
8.3.30.0110.00418.77
8.3.20.0090.00618.38
8.3.10.0040.00420.39
8.3.00.0030.00719.02
8.2.180.0170.00318.41
8.2.170.0140.00322.96
8.2.160.0110.00420.95
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00418.60
8.2.110.0030.00720.98
8.2.100.0060.00617.66
8.2.90.0070.00419.34
8.2.80.0000.00719.21
8.2.70.0080.00017.63
8.2.60.0060.00317.91
8.2.50.0040.00418.07
8.2.40.0000.00818.03
8.2.30.0080.00018.04
8.2.20.0060.00317.45
8.2.10.0080.00017.48
8.2.00.0080.00017.61
8.1.280.0100.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01024.00
8.1.230.0040.00820.95
8.1.220.0000.00817.74
8.1.210.0000.00818.85
8.1.200.0030.00617.00
8.1.190.0030.00517.51
8.1.180.0040.00418.10
8.1.170.0040.00418.83
8.1.160.0080.00018.80
8.1.150.0040.00418.63
8.1.140.0070.00017.41
8.1.130.0030.00317.82
8.1.120.0040.00417.40
8.1.110.0040.00417.34
8.1.100.0040.00417.27
8.1.90.0020.00517.29
8.1.80.0030.00317.37
8.1.70.0050.00317.32
8.1.60.0040.00417.55
8.1.50.0040.00417.45
8.1.40.0000.00817.47
8.1.30.0030.00517.48
8.1.20.0030.00517.62
8.1.10.0040.00417.60
8.1.00.0000.00817.46
8.0.300.0050.00319.91
8.0.290.0030.00316.63
8.0.280.0070.00018.43
8.0.270.0030.00316.75
8.0.260.0030.00316.74
8.0.250.0070.00016.88
8.0.240.0000.00816.79
8.0.230.0000.00716.90
8.0.220.0070.00016.71
8.0.210.0040.00416.77
8.0.200.0040.00416.77
8.0.190.0030.00516.91
8.0.180.0030.00616.84
8.0.170.0050.00216.73
8.0.160.0030.00316.90
8.0.150.0060.00316.66
8.0.140.0040.00416.77
8.0.130.0050.00013.29
8.0.120.0020.00516.77
8.0.110.0030.00316.65
8.0.100.0000.00716.85
8.0.90.0000.00716.65
8.0.80.0040.01116.71
8.0.70.0040.00416.84
8.0.60.0080.00016.78
8.0.50.0040.00416.85
8.0.30.0100.01116.93
8.0.20.0120.00517.03
8.0.10.0040.00416.88
8.0.00.0100.00916.77
7.4.330.0020.00212.88
7.4.320.0060.00016.50
7.4.300.0000.00716.60
7.4.290.0030.00316.59
7.4.280.0060.00316.62
7.4.270.0000.00716.63
7.4.260.0030.00313.30
7.4.250.0060.00316.47
7.4.240.0030.00316.44
7.4.230.0030.00316.62
7.4.220.0090.00916.46
7.4.210.0070.00916.51
7.4.200.0040.00416.68
7.4.190.0000.00716.46
7.4.160.0070.01016.44
7.4.150.0030.01316.38
7.4.140.0120.00816.35
7.4.130.0080.01016.52
7.4.120.0110.00916.41
7.4.110.0120.01216.40
7.4.100.0120.01216.58
7.4.90.0140.00316.46
7.4.80.0100.00719.39
7.4.70.0060.01016.54
7.4.60.0150.00616.33
7.4.50.0070.00016.44
7.4.40.0030.01116.30
7.4.30.0090.00716.27
7.4.00.0060.01214.78
7.3.330.0000.00713.05
7.3.320.0050.00013.02
7.3.310.0030.00316.20
7.3.300.0050.00216.24
7.3.290.0120.00916.20
7.3.280.0100.00616.23
7.3.270.0130.00316.16
7.3.260.0090.00816.24
7.3.250.0090.00916.50
7.3.240.0170.00016.24
7.3.230.0130.00716.23
7.3.210.0100.00716.27
7.3.200.0120.00616.14
7.3.190.0030.01316.40
7.3.180.0000.01516.43
7.3.170.0000.01516.16
7.3.160.0040.01216.25
7.3.120.0100.00714.75
7.2.330.0120.00616.72
7.2.320.0120.00916.38
7.2.310.0100.01316.48
7.2.300.0100.00616.48
7.2.290.0060.01216.61
7.2.00.0100.00319.59
7.1.100.0170.01415.89
7.1.70.0030.00617.10
7.1.60.0060.01919.40
7.1.50.0090.01316.92
7.1.00.0030.07722.35
7.0.200.0170.00914.49
7.0.140.0070.08722.00
7.0.120.0000.07722.04
7.0.60.0000.08719.91
7.0.50.0130.08017.83
7.0.40.0030.04720.32
7.0.30.0300.07720.23
7.0.20.0230.07720.13
7.0.10.0070.04720.09
7.0.00.0170.07720.23
5.6.280.0000.07720.97
5.6.210.0130.06320.75
5.6.200.0000.05018.25
5.6.190.0100.06020.64
5.6.180.0200.03720.50
5.6.170.0200.08020.48
5.6.160.0030.04720.50
5.6.150.0070.05018.27
5.6.140.0070.06318.21
5.6.130.0030.08318.17
5.6.120.0170.05320.91
5.6.110.0070.04720.99
5.6.100.0100.07321.02
5.6.90.0130.08021.00
5.6.80.0030.06320.44
5.5.350.0030.03720.34
5.5.340.0070.06317.96
5.5.330.0170.03020.42
5.5.320.3700.04720.32
5.5.310.0270.04720.36
5.5.300.0030.06718.02
5.5.290.0130.07317.98
5.5.280.0070.08720.88
5.5.270.0030.05720.83
5.5.260.0100.07720.68
5.5.250.0100.04720.49
5.5.240.0270.06320.27
5.4.450.0170.08319.41
5.4.440.0230.05319.31
5.4.430.0070.05719.36
5.4.420.0130.05319.37
5.4.410.0130.05019.46
5.4.400.0100.07019.23
5.4.390.0100.05319.09
5.4.380.0200.06318.51
5.4.370.0100.05318.80
5.4.360.0130.03718.80
5.4.350.0040.03612.04
5.4.340.0090.03112.04
5.4.320.0140.03712.52
5.4.310.0100.04012.52
5.4.300.0070.04012.52
5.4.290.0050.04512.52
5.4.280.0080.03412.41
5.4.270.0080.03612.41
5.4.260.0070.03912.41
5.4.250.0080.03812.41
5.4.240.0110.03512.41
5.4.230.0110.03912.41
5.4.220.0090.03512.40
5.4.210.0070.03812.41
5.4.200.0060.04012.40
5.4.190.0080.03812.40
5.4.180.0070.03812.40
5.4.170.0050.03912.41
5.4.160.0060.03712.40
5.4.150.0070.03712.40
5.4.140.0060.03912.09
5.4.130.0080.03412.07
5.4.120.0070.03712.04
5.4.110.0070.03812.03
5.4.100.0070.04012.04
5.4.90.0050.04612.04
5.4.80.0080.04512.03
5.4.70.0090.04312.03
5.4.60.0070.04212.03
5.4.50.0060.03812.03
5.4.40.0080.03512.02
5.4.30.0070.03912.02
5.4.20.0070.04012.01
5.4.10.0060.03812.01
5.4.00.0090.03411.51
5.3.290.0110.03712.80
5.3.280.0070.03812.71
5.3.270.0060.04012.72
5.3.260.0060.04212.72
5.3.250.0080.03812.72
5.3.240.0060.03812.72
5.3.230.0040.04112.71
5.3.220.0060.03812.68
5.3.210.0080.03812.68
5.3.200.0060.03812.68
5.3.190.0060.03912.68
5.3.180.0050.04112.67
5.3.170.0060.03612.67
5.3.160.0050.03712.67
5.3.150.0060.03812.67
5.3.140.0060.03712.66
5.3.130.0080.04512.66
5.3.120.0060.04812.66
5.3.110.0090.04412.66
5.3.100.0070.04412.13
5.3.90.0070.04512.11
5.3.80.0060.04312.10
5.3.70.0070.04312.10
5.3.60.0070.04112.08

preferences:
55.27 ms | 400 KiB | 5 Q