3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ private $lol; function __construct(int $lol){ $this->lol = $lol; } } class B{ function __construct(){ A::__construct(20); } } $x = new B; var_dump($x);

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.0030.01816.88
8.3.50.0080.00818.17
8.3.40.0070.00718.83
8.3.30.0150.00618.72
8.3.20.0040.00420.30
8.3.10.0040.00423.54
8.3.00.0040.00419.50
8.2.180.0090.00618.31
8.2.170.0110.00422.96
8.2.160.0060.00920.47
8.2.150.0090.00024.18
8.2.140.0000.00724.66
8.2.130.0090.00019.00
8.2.120.0080.00026.35
8.2.110.0100.00021.03
8.2.100.0030.00817.72
8.2.90.0050.00317.84
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0040.00419.41
8.2.30.0040.00420.66
8.2.20.0100.00017.60
8.2.10.0000.00917.99
8.2.00.0070.00017.97
8.1.280.0120.00925.92
8.1.270.0110.00723.91
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0090.00022.17
8.1.230.0110.00021.10
8.1.220.0050.00317.74
8.1.210.0000.00818.91
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.62
8.1.160.0000.00721.85
8.1.150.0040.00418.67
8.1.140.0050.00319.33
8.1.130.0030.00317.48
8.1.120.0020.00517.39
8.1.110.0000.00917.32
8.1.100.0040.00417.31
8.1.90.0070.00017.36
8.1.80.0040.00417.20
8.1.70.0000.00817.15
8.1.60.0040.00417.52
8.1.50.0030.00517.36
8.1.40.0000.00817.43
8.1.30.0060.00317.58
8.1.20.0000.00917.46
8.1.10.0070.00017.50
8.1.00.0050.00217.48
8.0.300.0040.00419.86
8.0.290.0000.00816.63
8.0.280.0030.00318.35
8.0.270.0080.00017.10
8.0.260.0040.00417.13
8.0.250.0040.00416.93
8.0.240.0070.00016.99
8.0.230.0000.00716.99
8.0.220.0000.00816.91
8.0.210.0040.00416.87
8.0.200.0000.00616.84
8.0.190.0000.00816.93
8.0.180.0040.00416.85
8.0.170.0030.00516.92
8.0.160.0050.00216.96
8.0.150.0040.00416.83
8.0.140.0050.00316.73
8.0.130.0000.00613.27
8.0.120.0050.00316.89
8.0.110.0000.00716.78
8.0.100.0070.00016.71
8.0.90.0040.00416.77
8.0.80.0120.00816.77
8.0.70.0000.00716.76
8.0.60.0030.00416.90
8.0.50.0040.00416.79
8.0.30.0060.00917.04
8.0.20.0100.00917.40
8.0.10.0030.00416.84
8.0.00.0120.00616.71
7.4.330.0000.00616.83
7.4.320.0070.00016.42
7.4.300.0030.00316.46
7.4.290.0040.00416.44
7.4.280.0000.00716.52
7.4.270.0000.00716.39
7.4.260.0000.00816.50
7.4.250.0000.00816.33
7.4.240.0020.00516.49
7.4.230.0070.00016.56
7.4.220.0000.02216.46
7.4.210.0100.00716.55
7.4.200.0000.00716.41
7.4.160.0160.00016.63
7.4.150.0030.01417.40
7.4.140.0090.01417.86
7.4.130.0070.01416.54
7.4.120.0100.01116.59
7.4.110.0060.01616.62
7.4.100.0110.01116.47
7.4.90.0080.00816.50
7.4.80.0090.01019.39
7.4.70.0080.00816.45
7.4.60.0080.00816.47
7.4.50.0030.01016.28
7.4.40.0130.00316.34
7.4.30.0070.01016.15
7.4.00.0100.00714.68
7.3.330.0060.00213.38
7.3.320.0050.00013.37
7.3.310.0040.00416.18
7.3.300.0000.00716.34
7.3.290.0080.00916.36
7.3.280.0110.00716.35
7.3.270.0070.01317.40
7.3.260.0130.00316.31
7.3.250.0080.01016.43
7.3.240.0100.01016.26
7.3.230.0070.01016.39
7.3.210.0090.00616.26
7.3.200.0030.01716.28
7.3.190.0100.00616.48
7.3.180.0100.01016.38
7.3.170.0130.00316.43
7.3.160.0060.01016.27
7.3.10.0090.00616.49
7.3.00.0090.00616.56
7.2.330.0090.01316.42
7.2.320.0100.01016.22
7.2.310.0030.01316.48
7.2.300.0120.00616.26
7.2.290.0150.00316.38
7.2.130.0060.00316.79
7.2.120.0120.00316.78
7.2.110.0040.00816.84
7.2.100.0130.00016.41
7.2.90.0070.01016.90
7.2.80.0000.00916.83
7.2.70.0030.01016.56
7.2.60.0050.00916.77
7.2.50.0070.00716.60
7.2.40.0040.00716.85
7.2.30.0080.00816.70
7.2.20.0070.01016.89
7.2.10.0070.00316.76
7.2.00.0070.00718.06
7.1.250.0040.00715.66
7.1.200.0000.01115.62
7.1.100.0040.00817.54
7.1.70.0030.00516.70
7.1.60.0140.01019.48
7.1.50.0000.01616.95
7.1.00.0070.07322.44
7.0.200.0250.00314.56
7.0.60.0130.07019.92
7.0.50.0070.08017.91
7.0.40.0070.04320.24
7.0.30.0030.04320.09
7.0.20.0300.08320.17
7.0.10.0100.06020.30
7.0.00.0070.06320.30
5.6.280.0070.05321.11
5.6.210.0030.08720.54
5.6.200.0070.05318.16
5.6.190.0070.08320.49
5.6.180.0000.05020.52
5.6.170.0100.05020.44
5.6.160.0030.06020.57
5.6.150.0100.05318.17
5.6.140.0100.03718.26
5.6.130.0070.08018.18
5.6.120.0100.03321.12
5.6.110.0130.07721.03
5.6.100.0130.07721.12
5.6.90.0270.05321.18
5.6.80.0200.06020.34
5.5.350.4300.04720.45
5.5.340.0100.05018.09
5.5.330.0130.04320.37
5.5.320.0030.04020.27
5.5.310.0200.06320.39
5.5.300.0070.07717.92
5.5.290.0030.08717.95
5.5.280.0100.07320.66
5.5.270.0030.05720.76
5.5.260.0130.07720.93
5.5.250.0130.05720.61
5.5.240.0170.04720.36

preferences:
76.55 ms | 400 KiB | 5 Q