3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { function println($string) { print $string, "\n"; } } namespace bar { use function foo\println; println("Hallo Emanuel"); }

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.0230.04019.13
5.4.310.0230.08019.13
5.4.300.0300.04318.85
5.4.290.0370.06719.02
5.4.280.0400.06319.08
5.4.270.0230.03719.13
5.4.260.0370.07019.13
5.4.250.0300.04319.14
5.4.240.0270.06719.31
5.4.230.0300.06719.14
5.4.220.0300.03719.15
5.4.210.0300.04719.13
5.4.200.0330.07019.22
5.4.190.0370.06319.05
5.4.180.0230.04019.21
5.4.170.0300.04319.15
5.4.160.0230.06319.29
5.4.150.0400.06719.22
5.4.140.0230.05016.34
5.4.130.0400.06016.34
5.4.120.0270.03716.52
5.4.110.0230.04016.56
5.4.100.0230.04016.36
5.4.90.0230.04316.56
5.4.80.0270.03316.55
5.4.70.0270.03716.50
5.4.60.0330.06316.34
5.4.50.0200.04316.33
5.4.40.0330.05716.43
5.4.30.0370.05316.51
5.4.20.0200.03716.43
5.4.10.0270.04016.53
5.4.00.0200.03715.80
5.3.290.0270.03714.74
5.3.280.0300.04714.58
5.3.270.0370.07014.58
5.3.260.0300.05014.53
5.3.250.0270.05014.61
5.3.240.0330.06714.50
5.3.230.0430.06014.76
5.3.220.0270.06014.54
5.3.210.0330.03014.47
5.3.200.0270.03714.48
5.3.190.0300.06314.57
5.3.180.0270.03314.56
5.3.170.0470.07314.57
5.3.160.0230.04014.47
5.3.150.0270.05014.64
5.3.140.0330.07014.67
5.3.130.0230.04314.45
5.3.120.0300.03314.52
5.3.110.0230.03714.56
5.3.100.0270.03314.05
5.3.90.0330.06314.04
5.3.80.0230.03714.00
5.3.70.0300.04013.99
5.3.60.0200.06713.91
5.3.50.0230.04714.03
5.3.40.0270.03713.86
5.3.30.0270.06713.80
5.3.20.0300.06313.61
5.3.10.0230.07013.66
5.3.00.0370.05013.64
5.2.170.0270.05712.13
5.2.160.0230.06012.13
5.2.150.0170.03012.13
5.2.140.0270.04312.13
5.2.130.0200.03312.13
5.2.120.0230.03712.13
5.2.110.0200.06312.13
5.2.100.0270.05312.13
5.2.90.0270.05712.13
5.2.80.0300.05712.13
5.2.70.0270.05712.13
5.2.60.0230.04012.13
5.2.50.0270.05012.13
5.2.40.0170.06012.13
5.2.30.0270.04712.13
5.2.20.0170.06312.13
5.2.10.0230.04312.13
5.2.00.0230.04712.13
5.1.60.0230.02712.13
5.1.50.0200.03312.13
5.1.40.0130.05012.13
5.1.30.0230.02712.13
5.1.20.0270.03312.13
5.1.10.0270.04312.13
5.1.00.0200.04312.13
5.0.50.0100.04712.13
5.0.40.0200.03012.13
5.0.30.0130.06012.13
5.0.20.0130.03012.13
5.0.10.0170.04012.13
5.0.00.0170.05712.13
4.4.90.0100.03712.13
4.4.80.0130.03012.13
4.4.70.0100.02312.13
4.4.60.0130.02712.13
4.4.50.0100.02312.13
4.4.40.0030.03712.13
4.4.30.0000.04012.13
4.4.20.0100.03712.13
4.4.10.0170.01012.13
4.4.00.0170.04712.13
4.3.110.0170.02312.13
4.3.100.0100.01712.13
4.3.90.0130.02312.13
4.3.80.0100.05312.13
4.3.70.0070.02312.13
4.3.60.0100.03712.13
4.3.50.0100.01712.13
4.3.40.0030.03312.13
4.3.30.0030.01712.13
4.3.20.0070.01712.13
4.3.10.0070.01312.13
4.3.00.0070.03312.13

preferences:
142.01 ms | 1394 KiB | 7 Q