3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Teste { $teste = function (){return 'abc';}; class A {} } namespace{ echo Teste\$teste; } ?>

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.4630.03319.04
5.4.320.4130.03718.95
5.4.310.3670.04019.01
5.4.300.4430.03719.05
5.4.290.4500.03719.05
5.4.280.4030.03719.00
5.4.270.3930.04018.98
5.4.260.4570.03719.04
5.4.250.4330.04018.84
5.4.240.4300.04018.96
5.4.230.3830.03718.82
5.4.220.4000.04019.05
5.4.210.4270.03718.95
5.4.200.3830.04019.07
5.4.190.3570.04019.00
5.4.180.3800.03718.97
5.4.170.4870.03719.09
5.4.160.3730.03318.93
5.4.150.3630.03319.05
5.4.140.4370.03016.31
5.4.130.4100.03016.49
5.4.120.4430.03316.43
5.4.110.3970.04316.53
5.4.100.3430.03716.58
5.4.90.3000.03716.31
5.4.80.0030.03316.59
5.4.70.3870.03316.56
5.4.60.3830.03316.61
5.4.50.4370.03316.49
5.4.40.4100.03316.49
5.4.30.3700.04016.45
5.4.20.3570.02716.45
5.4.10.4030.03716.48
5.4.00.3200.03015.70
5.3.290.3970.04314.82
5.3.280.3830.04014.60
5.3.270.4700.04014.64
5.3.260.3930.04014.75
5.3.250.2700.04014.61
5.3.240.3270.04014.62
5.3.230.4400.04014.59
5.3.220.4730.04014.73
5.3.210.4700.03714.47
5.3.200.3370.03714.59
5.3.190.0000.05314.50
5.3.180.0030.03714.58
5.3.170.2200.06014.55
5.3.160.4370.03714.57
5.3.150.4430.03714.72
5.3.140.4030.04314.70
5.3.130.3800.04014.62
5.3.120.3470.04014.55
5.3.110.4600.04014.58
5.3.100.3870.03714.05
5.3.90.3830.02314.07
5.3.80.4430.03014.02
5.3.70.4030.03714.07
5.3.60.4270.04714.02
5.3.50.4230.04013.93
5.3.40.2770.04014.00
5.3.30.2100.03013.91
5.3.20.2770.03013.73
5.3.10.4230.04013.54
5.3.00.3030.03313.60
5.2.170.3170.02310.97
5.2.160.2930.03011.00
5.2.150.2200.03311.30
5.2.140.2400.03011.02
5.2.130.2100.02711.09
5.2.120.3170.02711.04
5.2.110.2570.02711.10
5.2.100.3030.03311.03
5.2.90.2370.02711.11
5.2.80.2470.02710.97
5.2.70.2600.03011.10
5.2.60.2300.02711.02
5.2.50.2270.03311.17
5.2.40.1670.02310.89
5.2.30.2200.03311.12
5.2.20.2000.02710.86
5.2.10.2400.03310.85
5.2.00.2100.02710.74
5.1.60.2030.02310.10
5.1.50.2770.02310.01
5.1.40.2630.0239.96
5.1.30.2530.02710.33
5.1.20.2530.02310.23
5.1.10.2570.02310.13
5.1.00.2400.02710.08
5.0.50.2300.0208.52
5.0.40.1800.0208.31
5.0.30.1500.0338.22
5.0.20.1500.0238.16
5.0.10.1500.0208.14
5.0.00.1370.0308.14
4.4.90.0700.0175.90
4.4.80.1000.0175.76
4.4.70.0600.0175.78
4.4.60.1000.0175.88
4.4.50.0630.0105.90
4.4.40.0970.0235.76
4.4.30.1500.0175.78
4.4.20.1370.0175.87
4.4.10.1430.0135.85
4.4.00.1870.0275.85
4.3.110.1530.0205.70
4.3.100.1800.0135.77
4.3.90.1470.0175.83
4.3.80.1670.0275.67
4.3.70.1630.0135.72
4.3.60.1530.0105.72
4.3.50.1330.0205.71
4.3.40.1930.0235.74
4.3.30.0570.0175.21
4.3.20.1000.0235.21
4.3.10.0970.0205.21
4.3.00.1000.0205.21

preferences:
142.8 ms | 1394 KiB | 7 Q