3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C {} $c = new C; var_dump(C::class, $c::class);

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.0080.00816.38
8.3.50.0100.01322.01
8.3.40.0070.01118.76
8.3.30.0110.00318.95
8.3.20.0040.00420.34
8.3.10.0130.00320.18
8.3.00.0080.00019.13
8.2.180.0040.01116.63
8.2.170.0130.00922.96
8.2.160.0170.00320.43
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0020.00526.16
8.2.120.0000.00819.65
8.2.110.0030.00622.28
8.2.100.0040.00718.70
8.1.280.0090.00625.92
8.1.270.0060.00320.51
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00318.57
8.1.230.0090.00018.23
5.4.350.3570.04018.98
5.4.340.3630.03719.13
5.4.320.3970.03019.07
5.4.310.3600.04318.99
5.4.300.3700.04019.09
5.4.290.3500.03718.95
5.4.280.3970.05018.87
5.4.270.4200.04018.94
5.4.260.3900.03718.87
5.4.250.3930.02719.07
5.4.240.3500.04018.94
5.4.230.3900.03319.19
5.4.220.3870.04019.07
5.4.210.3570.03719.30
5.4.200.3930.03719.24
5.4.190.3530.04019.23
5.4.180.3500.04319.23
5.4.170.3970.03319.14
5.4.160.4330.03018.85
5.4.150.3830.03718.98
5.4.140.3970.03716.46
5.4.130.3670.03716.46
5.4.120.3570.03316.55
5.4.110.3300.03016.41
5.4.100.0070.03716.40
5.4.90.0030.07716.50
5.4.80.4530.03016.59
5.4.70.4170.04316.57
5.4.60.3800.03316.54
5.4.50.3830.03316.53
5.4.40.3600.04016.51
5.4.30.3600.03316.55
5.4.20.3870.03316.24
5.4.10.3670.03016.32
5.4.00.3800.03315.82
5.3.290.3770.04014.66
5.3.280.3670.03014.64
5.3.270.3700.04014.62
5.3.260.3930.03714.58
5.3.250.3130.03014.72
5.3.240.3670.03714.70
5.3.230.3570.03714.52
5.3.220.3900.03014.72
5.3.210.3900.03714.60
5.3.200.0030.03714.48
5.3.190.2430.04014.48
5.3.180.4400.04314.46
5.3.170.4400.03714.78
5.3.160.4170.03714.72
5.3.150.3100.03314.54
5.3.140.3600.03714.45
5.3.130.3770.03714.44
5.3.120.4100.04314.70
5.3.110.3870.02314.52
5.3.100.3600.03313.96
5.3.90.4170.04013.99
5.3.80.0030.07713.94
5.3.70.0100.05314.09
5.3.60.0100.04314.00
5.3.50.1800.04013.95
5.3.40.3870.03014.10
5.3.30.4000.04013.83
5.3.20.3830.03313.61
5.3.10.3830.03713.55
5.3.00.3930.04013.71
5.2.170.2570.03011.30
5.2.160.3370.02311.04
5.2.150.3300.02711.09
5.2.140.3030.03011.06
5.2.130.3000.03311.14
5.2.120.3070.03011.01
5.2.110.3370.02711.17
5.2.100.3070.02711.01
5.2.90.3300.02711.00
5.2.80.3030.03311.20
5.2.70.3230.03311.04
5.2.60.3300.03310.95
5.2.50.3070.02710.93
5.2.40.2730.02311.04
5.2.30.2500.02310.94
5.2.20.2700.03011.11
5.2.10.2370.03010.86
5.2.00.2330.03310.86
5.1.60.2670.02310.86
5.1.50.2530.02310.86
5.1.40.2530.03010.86
5.1.30.2700.02310.86
5.1.20.2400.02710.86
5.1.10.1970.02710.86
5.1.00.2730.02010.86
5.0.50.1230.02010.86
5.0.40.1270.01710.86
5.0.30.1230.03010.86
5.0.20.1200.02010.86
5.0.10.1200.02010.86
5.0.00.1200.03010.86
4.4.90.1200.01310.86
4.4.80.1430.01310.86
4.4.70.1270.01010.86
4.4.60.1430.01310.86
4.4.50.1170.01710.86
4.4.40.1470.03010.86
4.4.30.1430.02010.86
4.4.20.1400.02010.86
4.4.10.1470.01710.86
4.4.00.1200.02710.86
4.3.110.1230.01710.86
4.3.100.1300.01310.86
4.3.90.1200.01310.86
4.3.80.1200.02010.86
4.3.70.1270.01010.86
4.3.60.1200.01310.86
4.3.50.1270.02010.86
4.3.40.1200.02310.86
4.3.30.0630.01310.86
4.3.20.0700.02010.86
4.3.10.0630.01310.86
4.3.00.0630.01010.86

preferences:
30.89 ms | 401 KiB | 5 Q