3v4l.org

run code in 300+ PHP versions simultaneously
<?php function & a(){ $a = 1; return &$a; } 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.4.340.0270.06719.08
5.4.320.0230.07319.09
5.4.310.0330.06319.22
5.4.300.0300.06019.06
5.4.290.0230.07318.87
5.4.280.0230.05019.32
5.4.270.0230.07019.06
5.4.260.0230.06319.31
5.4.250.0370.03718.86
5.4.240.0270.07319.02
5.4.230.0200.05018.85
5.4.220.0170.04319.08
5.4.210.0130.04019.14
5.4.200.0270.06719.18
5.4.190.0200.07318.98
5.4.180.0230.07319.07
5.4.170.0230.04319.21
5.4.160.0270.05019.20
5.4.150.0170.06019.13
5.4.140.0200.03716.33
5.4.130.0130.04316.46
5.4.120.0200.07716.35
5.4.110.0370.05716.59
5.4.100.0230.06716.45
5.4.90.0230.05016.55
5.4.80.0130.03716.54
5.4.70.0170.03316.55
5.4.60.0170.03716.27
5.4.50.0100.04316.51
5.4.40.0100.04016.35
5.4.30.0130.03316.25
5.4.20.0100.05016.25
5.4.10.0100.04016.18
5.4.00.0070.04715.78
5.3.290.0200.04714.75
5.3.280.0230.07314.71
5.3.270.0300.04314.53
5.3.260.0270.07014.69
5.3.250.0270.07014.61
5.3.240.0130.05314.60
5.3.230.0270.04314.60
5.3.220.0230.04314.58
5.3.210.0300.06014.73
5.3.200.0370.03314.57
5.3.190.0130.04014.73
5.3.180.0230.04714.54
5.3.170.0130.04014.65
5.3.160.0130.03714.79
5.3.150.0230.03314.57
5.3.140.0130.03714.63
5.3.130.0130.03714.54
5.3.120.0130.04014.46
5.3.110.0130.03714.52
5.3.100.0100.04014.11
5.3.90.0130.03714.11
5.3.80.0170.03314.11
5.3.70.0170.03314.11
5.3.60.0170.03314.11
5.3.50.0170.04014.11
5.3.40.0130.03314.11
5.3.30.0100.03714.11
5.3.20.0100.04014.11
5.3.10.0070.04014.11
5.3.00.0130.04314.11
5.2.170.0130.02714.11
5.2.160.0170.03014.11
5.2.150.0170.02314.11
5.2.140.0170.02314.11
5.2.130.0130.03314.11
5.2.120.0070.03314.11
5.2.110.0070.03014.11
5.2.100.0070.03314.11
5.2.90.0100.03014.11
5.2.80.0100.03014.11
5.2.70.0100.03014.11
5.2.60.0170.03014.11
5.2.50.0170.02714.11
5.2.40.0030.03314.11
5.2.30.0130.02314.11
5.2.20.0100.03314.11
5.2.10.0130.03014.11
5.2.00.0200.02014.11
5.1.60.0100.02714.11
5.1.50.0070.02714.11
5.1.40.0070.03314.11
5.1.30.0230.03014.11
5.1.20.0130.03314.11
5.1.10.0130.04314.11
5.1.00.0170.03714.11
5.0.50.0070.04714.11
5.0.40.0100.04314.11
5.0.30.0130.06314.11
5.0.20.0130.03014.11
5.0.10.0130.03714.11
5.0.00.0070.05314.11
4.4.90.0070.01314.11
4.4.80.0070.01714.11
4.4.70.0030.02014.11
4.4.60.0130.01014.11
4.4.50.0030.01714.11
4.4.40.0030.02314.11
4.4.30.0000.02014.11
4.4.20.0100.03314.11
4.4.10.0130.02014.11
4.4.00.0100.04714.11
4.3.110.0100.02714.11
4.3.100.0070.02314.11
4.3.90.0070.03314.11
4.3.80.0100.03014.11
4.3.70.0100.02014.11
4.3.60.0030.02314.11
4.3.50.0070.02314.11
4.3.40.0070.05014.11
4.3.30.0000.03314.11
4.3.20.0030.03314.11
4.3.10.0030.03314.11
4.3.00.0070.02714.11

preferences:
143.88 ms | 1394 KiB | 7 Q