3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A; class B {} namespace A\B\C { class D {} } namespace { class A {} }

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.6.150.0070.08018.15
5.6.140.0070.06318.18
5.6.130.0030.04318.18
5.6.120.0030.04321.11
5.6.110.0070.08721.04
5.6.100.0070.08321.13
5.6.90.0030.08320.97
5.6.80.0070.06320.37
5.5.300.0070.05318.08
5.5.290.0030.08317.98
5.5.280.0070.08720.77
5.5.270.0100.07720.64
5.5.260.0100.07320.61
5.5.250.0030.06320.46
5.5.240.0130.07720.21
5.4.450.0580.05719.63
5.4.440.0370.05819.34
5.4.430.0580.05519.48
5.4.420.0400.05719.49
5.4.410.0550.04719.33
5.4.400.0600.04319.29
5.4.390.0420.04819.09
5.4.380.0550.06019.06
5.4.370.0570.05319.20
5.4.360.0550.05819.06
5.4.350.0520.05219.16
5.4.340.0450.05019.15
5.4.320.0530.06019.29
5.4.310.0530.05219.22
5.4.300.0550.05319.17
5.4.290.0680.04319.15
5.4.280.0430.06319.20
5.4.270.0400.05219.03
5.4.260.0350.04719.21
5.4.250.0380.05219.19
5.4.240.0420.05319.09
5.4.230.0450.04719.24
5.4.220.0470.05019.06
5.4.210.0430.05519.20
5.4.200.0420.05719.13
5.4.190.0420.05219.07
5.4.180.0370.04818.94
5.4.170.0380.04719.21
5.4.160.0430.05019.17
5.4.150.0400.05319.17
5.4.140.0370.05016.54
5.4.130.0200.05216.48
5.4.120.0070.05516.33
5.4.110.0080.05316.62
5.4.100.0320.05716.58
5.4.90.0330.04716.48
5.4.80.0130.04716.65
5.4.70.0870.04016.61
5.4.60.0230.04016.40
5.4.50.0170.04716.40
5.4.40.0070.05316.57
5.4.30.0530.05716.41
5.4.20.0770.04716.58
5.4.10.0230.04716.54
5.4.00.0200.04315.92
5.3.290.0530.05514.61
5.3.280.0350.05514.60
5.3.270.0500.04814.55
5.3.260.0370.05314.57
5.3.250.0430.05014.62
5.3.240.0150.05714.64
5.3.230.0320.05714.63
5.3.220.0350.05014.54
5.3.210.0370.05714.47
5.3.200.0170.04214.62
5.3.190.0150.05314.52
5.3.180.0030.06014.60
5.3.170.0670.04714.64
5.3.160.0200.05314.61
5.3.150.0270.04314.71
5.3.140.0200.06014.44
5.3.130.0830.05014.55
5.3.120.0730.05714.40
5.3.110.0170.04714.56
5.3.100.0200.04013.89
5.3.90.0100.06714.06
5.3.80.0170.05313.91
5.3.70.0100.05014.01
5.3.60.0070.05314.04
5.3.50.0170.04313.84
5.3.40.0170.04713.84
5.3.30.0170.06713.76
5.3.20.0270.05013.60
5.3.10.0200.04313.65
5.3.00.0370.05013.54
5.2.170.0070.04310.98
5.2.160.0170.04011.13
5.2.150.0070.06010.97
5.2.140.0300.03011.02
5.2.130.0100.04011.03
5.2.120.0070.04311.25
5.2.110.0030.04310.98
5.2.100.0070.05310.95
5.2.90.0200.04710.89
5.2.80.0170.04011.19
5.2.70.0230.03710.93
5.2.60.0200.03710.89
5.2.50.0130.05710.87
5.2.40.0100.04710.83
5.2.30.0170.04010.95
5.2.20.0130.04010.97
5.2.10.0130.05310.86
5.2.00.0270.04010.68
5.1.60.0000.0439.91
5.1.50.0170.0339.84
5.1.40.0100.0479.86
5.1.30.0200.02710.26
5.1.20.0030.03710.26
5.1.10.0430.0409.93
5.1.00.0400.03310.11
5.0.50.0030.0308.55
5.0.40.0130.0308.45
5.0.30.0200.0408.27
5.0.20.0030.0308.21
5.0.10.0200.0338.14
5.0.00.0070.0438.38
4.4.90.0230.0236.61
4.4.80.0070.0206.61
4.4.70.0130.0176.61
4.4.60.0070.0206.61
4.4.50.0100.0206.61
4.4.40.0030.0406.61
4.4.30.0070.0276.61
4.4.20.0130.0306.60
4.4.10.0030.0206.60
4.4.00.0030.0336.60
4.3.110.0000.0336.60
4.3.100.0030.0236.60
4.3.90.0070.0306.60
4.3.80.0070.0336.60
4.3.70.0100.0176.60
4.3.60.0070.0206.60
4.3.50.0070.0206.60
4.3.40.0000.0406.60
4.3.30.0000.0236.60
4.3.20.0000.0236.60
4.3.10.0000.0236.60
4.3.00.0030.0206.60

preferences:
150.69 ms | 1432 KiB | 7 Q