3v4l.org

run code in 300+ PHP versions simultaneously
<?php public function myName($name) { echo $name; } myName("hunter");

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.310.3800.04019.22
5.4.300.4230.03019.31
5.4.290.3900.03718.85
5.4.280.4170.04019.15
5.4.270.3470.04019.23
5.4.260.4000.03718.88
5.4.250.2930.04019.05
5.4.240.4170.03319.13
5.4.230.3200.03718.96
5.4.220.3370.03719.08
5.4.210.2670.04019.18
5.4.200.3570.03319.30
5.4.190.4130.04318.86
5.4.180.3930.04318.93
5.4.170.2930.04019.08
5.4.160.3500.04318.97
5.4.150.2670.03719.16
5.4.140.3030.03316.51
5.4.130.3270.03316.35
5.4.120.3200.03316.35
5.4.110.3070.03316.24
5.4.100.2730.03316.42
5.4.90.3000.03316.28
5.4.80.3270.02716.34
5.4.70.3200.03316.24
5.4.60.2470.03316.34
5.4.50.3100.03316.25
5.4.40.2830.04316.34
5.4.30.3400.03316.23
5.4.20.3070.03316.34
5.4.10.3870.03716.43
5.4.00.3400.03715.75
5.3.290.3530.03714.50
5.3.280.3000.04014.62
5.3.270.3730.03714.45
5.3.260.3570.04314.55
5.3.250.3100.03314.46
5.3.240.3270.03714.45
5.3.230.2230.04314.64
5.3.220.3100.03714.46
5.3.210.2630.03014.39
5.3.200.3170.03714.40
5.3.190.3300.03014.40
5.3.180.2700.03314.36
5.3.170.3000.03314.40
5.3.160.2970.03714.39
5.3.150.2970.03314.51
5.3.140.3600.03714.60
5.3.130.3230.03314.39
5.3.120.2870.04014.64
5.3.110.3630.02714.64
5.3.100.3430.04013.99
5.3.90.2870.03713.97
5.3.80.3400.04314.04
5.3.70.3070.03713.96
5.3.60.3130.03714.09
5.3.50.3430.04013.90
5.3.40.3170.03713.89
5.3.30.3330.03713.74
5.3.20.4270.03713.55
5.3.10.3100.03713.61
5.3.00.3170.03313.57
5.2.170.2670.03311.16
5.2.160.2730.02711.23
5.2.150.3170.03311.20
5.2.140.2970.03011.16
5.2.130.2370.03011.19
5.2.120.2930.03010.95
5.2.110.3100.02711.04
5.2.100.3070.02711.20
5.2.90.2370.02711.04
5.2.80.2970.03310.95
5.2.70.2870.03310.96
5.2.60.2800.02310.95
5.2.50.2830.02711.16
5.2.40.2330.03011.00
5.2.30.2470.03310.83
5.2.20.2530.03010.81
5.2.10.2270.03010.83
5.2.00.2970.02310.80
5.1.60.2430.0279.86
5.1.50.2630.0209.97
5.1.40.2630.0279.94
5.1.30.2770.02710.31
5.1.20.3000.02010.27
5.1.10.2570.02710.05
5.1.00.2900.0209.95
5.0.50.1100.0208.48
5.0.40.0930.0278.32
5.0.30.1530.0308.32
5.0.20.1430.0238.32
5.0.10.1600.0178.32
5.0.00.1630.0308.32
4.4.90.1030.0138.32
4.4.80.1400.0178.32
4.4.70.1370.0178.32
4.4.60.1730.0178.32
4.4.50.1400.0178.32
4.4.40.1370.0238.32
4.4.30.1270.0178.32
4.4.20.0930.0178.32
4.4.10.1300.0138.32
4.4.00.1270.0278.32
4.3.110.1370.0178.32
4.3.100.0800.0138.32
4.3.90.0970.0238.32
4.3.80.1030.0178.32
4.3.70.1170.0108.32
4.3.60.1670.0138.32
4.3.50.1700.0138.32
4.3.40.1330.0208.32
4.3.30.0730.0208.32
4.3.20.0830.0238.32
4.3.10.0770.0138.32
4.3.00.0370.0138.32

preferences:
132.21 ms | 1394 KiB | 7 Q