3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((double)round(0.9+0.31) * 100)/100) == 0.40));

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)
5.4.340.3700.03718.95
5.4.320.3700.03719.14
5.4.310.3430.03319.26
5.4.300.3630.04319.09
5.4.290.3800.03719.24
5.4.280.3800.03719.13
5.4.270.3530.03719.19
5.4.260.3470.04019.15
5.4.250.3630.03719.12
5.4.240.3330.04018.86
5.4.230.3430.03719.08
5.4.220.3430.04018.86
5.4.210.3670.03719.14
5.4.200.3600.03018.94
5.4.190.3330.03719.14
5.4.180.2400.03719.30
5.4.170.1300.04019.07
5.4.160.1700.03319.03
5.4.150.2430.03719.20
5.4.140.3270.03316.36
5.4.130.2530.03316.39
5.4.120.2870.03316.31
5.4.110.2700.02716.54
5.4.100.3270.03016.42
5.4.90.3000.03316.55
5.4.80.3070.03716.25
5.4.70.2730.03316.49
5.4.60.3030.03016.43
5.4.50.3800.03716.43
5.4.40.3470.02716.53
5.4.30.3200.03316.23
5.4.20.3530.03316.54
5.4.10.3830.03016.48
5.4.00.3770.03015.74
5.3.290.4130.04014.54
5.3.280.3600.03314.57
5.3.270.3630.03014.46
5.3.260.0700.03714.55
5.3.250.2230.03714.51
5.3.240.3400.03014.45
5.3.230.2670.03314.53
5.3.220.2670.04314.61
5.3.210.2430.03714.52
5.3.200.3030.03314.45
5.3.190.3300.03014.47
5.3.180.4730.03714.42
5.3.170.3030.03714.40
5.3.160.1700.04714.47
5.3.150.3600.05014.65
5.3.140.3530.04314.51
5.3.130.3570.04014.39
5.3.120.2770.04314.57
5.3.110.3700.03014.41
5.3.100.3800.03714.00
5.3.90.3770.03713.88
5.3.80.3770.03313.85
5.3.70.3470.04013.96
5.3.60.4130.03313.91
5.3.50.3500.02713.90
5.3.40.3400.04013.97
5.3.30.0830.04713.95
5.3.20.3170.04313.46
5.3.10.3000.02713.64
5.3.00.3230.04013.48
5.2.170.2930.02311.08
5.2.160.2800.03311.05
5.2.150.2800.03011.00
5.2.140.3070.03011.16
5.2.130.2970.02311.27
5.2.120.2770.02711.05
5.2.110.2570.03310.93
5.2.100.2800.03010.95
5.2.90.3030.03311.12
5.2.80.2800.02311.00
5.2.70.2730.02711.03
5.2.60.3070.02710.91
5.2.50.2870.02310.86
5.2.40.2300.02311.00
5.2.30.2400.03010.81
5.2.20.2800.03010.96
5.2.10.2770.03010.75
5.2.00.2130.03310.57
5.1.60.2330.02310.04
5.1.50.2400.0209.88
5.1.40.2300.02310.10
5.1.30.2370.02710.48
5.1.20.1230.03310.32
5.1.10.2570.0279.98
5.1.00.2370.0279.95
5.0.50.1370.0238.63
5.0.40.1200.0178.32
5.0.30.1370.0378.11
5.0.20.1330.0238.11
5.0.10.1270.0178.17
5.0.00.1270.0308.21
4.4.90.1030.0176.42
4.4.80.1070.0176.42
4.4.70.1330.0136.42
4.4.60.1430.0136.42
4.4.50.1200.0136.42
4.4.40.1430.0276.42
4.4.30.1130.0136.42
4.4.20.1200.0206.42
4.4.10.0730.0176.42
4.4.00.1130.0276.42
4.3.110.0100.0236.42
4.3.100.1200.0206.42
4.3.90.1470.0136.42
4.3.80.1330.0206.42
4.3.70.1370.0136.42
4.3.60.1230.0176.42
4.3.50.1230.0106.42
4.3.40.1130.0236.42
4.3.30.0600.0136.42
4.3.20.0730.0276.42
4.3.10.0570.0176.42
4.3.00.0600.0176.42

preferences:
137.63 ms | 1394 KiB | 7 Q