3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!((1=1)?true:false)) { echo "true"; } else { echo "false"; }

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.3430.03019.15
5.4.310.3500.04018.95
5.4.300.3830.04019.31
5.4.290.4200.03018.98
5.4.280.3900.04318.87
5.4.270.3700.04019.06
5.4.260.3630.03718.99
5.4.250.3830.03019.05
5.4.240.3900.04319.07
5.4.230.3630.04019.08
5.4.220.3630.04319.03
5.4.210.3630.03719.13
5.4.200.3630.03718.97
5.4.190.3630.04319.21
5.4.180.3630.04019.13
5.4.170.3930.04719.05
5.4.160.3400.03719.04
5.4.150.3700.03319.13
5.4.140.3470.04316.52
5.4.130.3130.03316.35
5.4.120.3970.03716.51
5.4.110.3400.03316.55
5.4.100.3370.03316.54
5.4.90.3370.03316.51
5.4.80.3470.02716.54
5.4.70.3500.02716.33
5.4.60.3600.03016.33
5.4.50.3670.03016.50
5.4.40.3670.02716.49
5.4.30.2430.04716.16
5.4.20.3770.03716.38
5.4.10.3730.04716.51
5.4.00.3770.04016.11
5.3.290.3470.04314.60
5.3.280.3830.04314.43
5.3.270.3570.03714.52
5.3.260.3630.04314.51
5.3.250.3600.03714.44
5.3.240.3400.03714.58
5.3.230.3530.03314.47
5.3.220.3470.03014.40
5.3.210.3370.04014.41
5.3.200.2630.03014.50
5.3.190.3400.03314.61
5.3.180.3400.03014.52
5.3.170.3330.03014.54
5.3.160.3270.03714.44
5.3.150.4500.04314.51
5.3.140.3570.03714.50
5.3.130.2870.03714.59
5.3.120.3970.03714.39
5.3.110.4400.03014.45
5.3.100.3030.03713.88
5.3.90.3470.03713.98
5.3.80.3770.04013.96
5.3.70.3630.03713.95
5.3.60.2970.03314.06
5.3.50.3700.03313.85
5.3.40.4000.03013.89
5.3.30.3330.03713.84
5.3.20.3670.03013.59
5.3.10.3530.04013.45
5.3.00.3430.03713.61
5.2.170.3200.02710.98
5.2.160.3100.02711.00
5.2.150.2830.02711.00
5.2.140.3000.03311.16
5.2.130.3200.02310.99
5.2.120.2700.03310.94
5.2.110.3030.03310.99
5.2.100.3300.02310.94
5.2.90.2800.02310.96
5.2.80.3430.04010.93
5.2.70.3070.03011.18
5.2.60.2970.03711.22
5.2.50.3270.03010.88
5.2.40.2670.02711.04
5.2.30.2870.03710.80
5.2.20.2500.03310.90
5.2.10.2200.03010.78
5.2.00.2230.02710.63
5.1.60.2230.02310.11
5.1.50.2730.02310.16
5.1.40.2600.02710.09
5.1.30.2770.03010.25
5.1.20.2770.02710.46
5.1.10.3000.02010.14
5.1.00.2970.02310.11
5.0.50.1700.0309.98
5.0.40.1370.0239.98
5.0.30.1270.0339.98
5.0.20.1270.0209.98
5.0.10.1270.0239.98
5.0.00.1170.0339.98
4.4.90.1570.0179.98
4.4.80.1500.0179.98
4.4.70.1330.0179.98
4.4.60.1470.0139.98
4.4.50.1330.0139.98
4.4.40.1600.0239.98
4.4.30.1600.0179.98
4.4.20.1530.0179.98
4.4.10.1400.0179.98
4.4.00.1570.0279.98
4.3.110.1330.0109.98
4.3.100.1170.0179.98
4.3.90.1370.0139.98
4.3.80.1330.0309.98
4.3.70.1470.0179.98
4.3.60.1430.0209.98
4.3.50.1130.0179.98
4.3.40.1400.0279.98
4.3.30.0570.0179.98
4.3.20.0600.0179.98
4.3.10.0700.0279.98
4.3.00.0770.0209.98

preferences:
142.15 ms | 1394 KiB | 7 Q