3v4l.org

run code in 300+ PHP versions simultaneously
<?php function namespace() {}

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.360.0170.04318.66
5.4.350.0100.03314.02
5.4.340.0070.03713.79
5.4.320.0070.04014.25
5.4.310.0030.04314.49
5.4.300.0070.03714.42
5.4.290.0030.04714.26
5.4.280.0130.04314.31
5.4.270.0070.03714.16
5.4.260.0000.04314.15
5.4.250.0000.04314.10
5.4.240.0070.04014.28
5.4.230.0130.03314.10
5.4.220.0130.03014.14
5.4.210.0200.02314.09
5.4.200.0170.03314.08
5.4.190.0100.05314.15
5.4.180.0130.03314.15
5.4.170.0100.03314.16
5.4.160.0070.04014.13
5.4.150.0030.04014.16
5.4.140.0070.04013.78
5.4.130.0100.04713.94
5.4.120.0100.03313.72
5.4.110.0030.04313.77
5.4.100.0130.03713.85
5.4.90.0070.04013.79
5.4.80.0070.05313.93
5.4.70.0070.04013.83
5.4.60.0100.03313.78
5.4.50.0130.03013.91
5.4.40.0070.03713.75
5.4.30.0070.03713.87
5.4.20.0100.03313.78
5.4.10.0100.03313.75
5.4.00.0000.04313.25
5.3.290.0070.04314.52
5.3.280.0100.03714.44
5.3.270.0070.04014.46
5.3.260.0100.03714.66
5.3.250.0030.04314.50
5.3.240.0030.04014.61
5.3.230.0100.03314.46
5.3.220.0130.03314.45
5.3.210.0100.04014.46
5.3.200.0130.05014.50
5.3.190.0070.04014.41
5.3.180.0100.04314.49
5.3.170.0030.04314.57
5.3.160.0030.04314.62
5.3.150.0070.04714.43
5.3.140.0130.03014.48
5.3.130.0030.04314.45
5.3.120.0100.04014.48
5.3.110.0070.04014.60
5.3.100.0130.03314.06
5.3.90.0100.03713.95
5.3.80.0030.04014.02
5.3.70.0030.04014.04
5.3.60.0070.04014.03
5.3.50.0000.04313.80
5.3.40.0030.04013.92
5.3.30.0000.04013.88
5.3.20.0070.03713.54
5.3.10.0070.03713.54
5.3.00.0070.04013.52
5.2.170.0030.04711.05
5.2.160.0000.03311.18
5.2.150.0030.03311.18
5.2.140.0100.03011.12
5.2.130.0030.03311.12
5.2.120.0030.03011.16
5.2.110.0030.03311.21
5.2.100.0070.03011.03
5.2.90.0030.03011.25
5.2.80.0000.03711.05
5.2.70.0030.03311.22
5.2.60.0030.03011.03
5.2.50.0030.03311.00
5.2.40.0100.02311.06
5.2.30.0070.02710.95
5.2.20.0100.03310.91
5.2.10.0030.03011.04
5.2.00.0000.03310.87
5.1.60.0070.02010.00
5.1.50.0030.02710.01
5.1.40.0030.02310.02
5.1.30.0000.03710.49
5.1.20.0030.03010.50
5.1.10.0030.03010.24
5.1.00.0070.02710.11
5.0.50.0070.0178.52
5.0.40.0030.0208.45
5.0.30.0030.0308.28
5.0.20.0000.0238.37
5.0.10.0030.0208.14
5.0.00.0070.0278.13
4.4.90.0030.0135.89
4.4.80.0030.0205.93
4.4.70.0000.0205.84
4.4.60.0000.0235.85
4.4.50.0070.0135.86
4.4.40.0000.0275.95
4.4.30.0100.0105.81
4.4.20.0070.0205.93
4.4.10.0070.0136.00
4.4.00.0030.0236.02
4.3.110.0070.0135.93
4.3.100.0030.0135.73
4.3.90.0000.0175.72
4.3.80.0000.0275.74
4.3.70.0030.0135.70
4.3.60.0030.0135.72
4.3.50.0000.0175.71
4.3.40.0030.0235.76
4.3.30.0000.0204.48
4.3.20.0000.0174.47
4.3.10.0000.0204.44
4.3.00.0030.01716.65

preferences:
143.97 ms | 1394 KiB | 7 Q