3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; const TRUE = \false; const FALSE = \true; var_dump(\true, TRUE); var_dump(\false, 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.3770.03719.13
5.4.310.3630.03319.09
5.4.300.3830.03319.16
5.4.290.4300.03319.04
5.4.280.4030.03719.04
5.4.270.4130.04019.16
5.4.260.4070.04019.15
5.4.250.3830.04019.15
5.4.240.3630.03719.03
5.4.230.3800.04719.08
5.4.220.3770.03719.04
5.4.210.3630.03318.91
5.4.200.4100.03019.15
5.4.190.4230.04019.05
5.4.180.4230.03319.17
5.4.170.3600.03319.11
5.4.160.3770.03018.95
5.4.150.3130.03718.86
5.4.140.3400.03316.34
5.4.130.3830.03716.20
5.4.120.3900.03016.39
5.4.110.3830.03716.38
5.4.100.3830.03316.47
5.4.90.3270.04016.35
5.4.80.2930.03716.30
5.4.70.2170.03316.13
5.4.60.2470.04016.44
5.4.50.1530.03316.43
5.4.40.2300.03316.36
5.4.30.2870.03016.23
5.4.20.2370.03316.35
5.4.10.2600.03716.35
5.4.00.1930.03715.82
5.3.290.3370.03714.59
5.3.280.3600.04014.47
5.3.270.3870.04014.48
5.3.260.4300.03714.54
5.3.250.3730.03714.54
5.3.240.3430.03714.55
5.3.230.3100.03714.54
5.3.220.3730.03714.35
5.3.210.3600.04314.52
5.3.200.3670.03014.45
5.3.190.4200.04714.40
5.3.180.3500.04714.38
5.3.170.2570.03014.50
5.3.160.2730.03014.57
5.3.150.2570.03714.65
5.3.140.2300.04014.53
5.3.130.2800.03014.52
5.3.120.2600.03014.65
5.3.110.3300.02314.51
5.3.100.3030.03714.13
5.3.90.2600.03013.96
5.3.80.2570.03713.94
5.3.70.2900.03713.84
5.3.60.3100.04013.93
5.3.50.3470.03313.86
5.3.40.3700.03313.88
5.3.30.3300.04013.84
5.3.20.3970.04713.50
5.3.10.3530.03713.74
5.3.00.3430.03713.59
5.2.170.2800.03711.00
5.2.160.3200.03311.08
5.2.150.2830.03011.30
5.2.140.3100.03011.07
5.2.130.3000.03311.27
5.2.120.3070.02711.08
5.2.110.3130.03011.10
5.2.100.2730.03011.18
5.2.90.3030.03311.04
5.2.80.3030.03311.07
5.2.70.3230.03710.99
5.2.60.2800.03310.94
5.2.50.3170.03311.09
5.2.40.3130.02310.81
5.2.30.2330.02710.82
5.2.20.2500.02710.88
5.2.10.2300.03010.86
5.2.00.2530.03010.73
5.1.60.2700.02710.03
5.1.50.2670.02310.01
5.1.40.2700.0209.97
5.1.30.2470.03010.38
5.1.20.2330.02310.52
5.1.10.2530.02710.06
5.1.00.2600.02010.04
5.0.50.1530.0278.54
5.0.40.1400.0178.38
5.0.30.1470.0378.22
5.0.20.1270.0208.10
5.0.10.1700.0208.16
5.0.00.1700.0338.12
4.4.90.1430.0175.78
4.4.80.1470.0175.79
4.4.70.1030.0205.80
4.4.60.1070.0175.77
4.4.50.1330.0175.79
4.4.40.1370.0235.86
4.4.30.1300.0175.84
4.4.20.1430.0135.92
4.4.10.0730.0205.86
4.4.00.1570.0275.87
4.3.110.1330.0175.74
4.3.100.1600.0135.73
4.3.90.1500.0175.69
4.3.80.1570.0235.71
4.3.70.1700.0135.70
4.3.60.1530.0175.66
4.3.50.0970.0205.71
4.3.40.1570.0235.80
4.3.30.0870.0175.52
4.3.20.0930.0175.52
4.3.10.0870.0275.52
4.3.00.0800.0205.52

preferences:
136.15 ms | 1394 KiB | 7 Q