3v4l.org

run code in 300+ PHP versions simultaneously
<?php const object = 10; print( (object) >> 1 );

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.320.0800.03719.14
5.4.310.1370.04318.93
5.4.300.2430.04018.93
5.4.290.2670.04019.19
5.4.280.3000.03319.23
5.4.270.3800.03719.14
5.4.260.3700.03719.04
5.4.250.1670.04719.13
5.4.240.3130.04319.15
5.4.230.3370.04019.21
5.4.220.3330.04719.24
5.4.210.3370.04018.92
5.4.200.3970.03319.18
5.4.190.4500.03719.12
5.4.180.3500.03719.15
5.4.170.3800.04018.92
5.4.160.3430.03718.97
5.4.150.4270.03319.02
5.4.140.3770.03316.30
5.4.130.3870.03716.36
5.4.120.3730.03316.28
5.4.110.3530.04016.48
5.4.100.3530.03716.55
5.4.90.3930.03016.52
5.4.80.2830.02716.24
5.4.70.4530.03016.54
5.4.60.4500.03016.23
5.4.50.3230.03316.41
5.4.40.4600.03716.43
5.4.30.2800.03716.45
5.4.20.3570.04016.29
5.4.10.3700.03016.45
5.4.00.4070.04015.83
5.3.290.1530.04314.59
5.3.280.3600.04014.68
5.3.270.3200.04714.53
5.3.260.3600.04014.54
5.3.250.3730.04314.62
5.3.240.4100.04014.53
5.3.230.3830.04014.54
5.3.220.3730.03714.46
5.3.210.2830.03714.50
5.3.200.4200.04014.45
5.3.190.3200.03714.49
5.3.180.2530.03314.53
5.3.170.4130.03714.50
5.3.160.4630.03714.35
5.3.150.3700.03314.49
5.3.140.4000.04014.49
5.3.130.4130.04014.47
5.3.120.3700.04314.48
5.3.110.3530.04314.49
5.3.100.3630.04013.98
5.3.90.3670.02713.97
5.3.80.3230.04013.96
5.3.70.3770.03314.03
5.3.60.2970.03713.97
5.3.50.0130.03313.87
5.3.40.0270.06313.87
5.3.30.0100.07313.73
5.3.20.4730.04013.63
5.3.10.2730.04313.62
5.3.00.3870.04013.61
5.2.170.0100.05711.11
5.2.160.1800.02011.09
5.2.150.0030.06710.97
5.2.140.1170.03011.08
5.2.130.2770.02311.25
5.2.120.2600.03011.11
5.2.110.2570.02711.08
5.2.100.2130.03311.00
5.2.90.3430.02711.00
5.2.80.3370.03310.98
5.2.70.2970.03011.04
5.2.60.2400.03010.93
5.2.50.2130.03011.09
5.2.40.1870.02710.91
5.2.30.2700.03010.82
5.2.20.3100.03010.94
5.2.10.1100.03310.89
5.2.00.0030.03710.89
5.1.60.0100.0479.97
5.1.50.0030.0579.96
5.1.40.0030.0409.96
5.1.30.2500.03010.41
5.1.20.2970.03010.34
5.1.10.3230.02310.12
5.1.00.2670.02010.09
5.0.50.1700.0238.50
5.0.40.1730.0208.36
5.0.30.1630.0338.24
5.0.20.1370.0208.26
5.0.10.1770.0208.32
5.0.00.1430.0338.17
4.4.90.0770.0205.82
4.4.80.0530.0135.78
4.4.70.1400.0135.82
4.4.60.1500.0205.80
4.4.50.1000.0205.79
4.4.40.0000.0535.81
4.4.30.0070.0305.79
4.4.20.1770.0135.86
4.4.10.1630.0135.95
4.4.00.1730.0275.82
4.3.110.1770.0175.72
4.3.100.1470.0135.74
4.3.90.1400.0175.70
4.3.80.1470.0235.75
4.3.70.1470.0175.77
4.3.60.1770.0105.67
4.3.50.1700.0205.71
4.3.40.1530.0235.67
4.3.30.0870.0235.09
4.3.20.0970.0205.09
4.3.10.0670.0205.09
4.3.00.0570.0205.09

preferences:
141.29 ms | 1394 KiB | 7 Q