3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x($y) { $y['no'] = 'yes'; } $something = array(); x(&$something); print_r($something);

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.0300.07718.84
5.4.310.0270.05019.23
5.4.300.0370.06719.14
5.4.290.0270.05019.21
5.4.280.0300.04719.29
5.4.270.0370.05719.24
5.4.260.0270.04019.16
5.4.250.0330.06018.86
5.4.240.0270.03719.16
5.4.230.0330.04018.91
5.4.220.0300.06719.05
5.4.210.0270.05319.20
5.4.200.0400.06319.13
5.4.190.0370.05019.11
5.4.180.0300.04719.15
5.4.170.0470.05019.15
5.4.160.0400.06719.03
5.4.150.0300.04719.11
5.4.140.0500.04716.39
5.4.130.0370.06716.47
5.4.120.0400.03716.35
5.4.110.0330.04716.52
5.4.100.0370.03716.45
5.4.90.0430.06016.37
5.4.80.0400.04716.44
5.4.70.0300.05316.44
5.4.60.0400.03716.52
5.4.50.0300.04716.57
5.4.40.0300.07016.63
5.4.30.0400.06316.22
5.4.20.0400.04716.52
5.4.10.0430.05716.16
5.4.00.0430.05715.87
5.3.290.0470.06714.67
5.3.280.0370.04014.70
5.3.270.0470.06314.68
5.3.260.0330.04314.59
5.3.250.0370.06314.62
5.3.240.0400.06314.72
5.3.230.0330.07314.74
5.3.220.0330.05014.57
5.3.210.0370.06714.65
5.3.200.0300.05314.48
5.3.190.0430.05714.58
5.3.180.0430.06014.47
5.3.170.0330.04314.48
5.3.160.0370.03714.61
5.3.150.0330.05314.54
5.3.140.0370.06714.60
5.3.130.0270.04314.77
5.3.120.0470.04014.63
5.3.110.0470.06714.55
5.3.100.0500.05714.04
5.3.90.0530.06313.93
5.3.80.0430.04713.95
5.3.70.0430.06713.94
5.3.60.0530.06313.93
5.3.50.0430.05714.19
5.3.40.0530.05313.96
5.3.30.0330.05313.80
5.3.20.0430.06713.60
5.3.10.0570.04713.67
5.3.00.0470.05013.65
5.2.170.0430.05013.43
5.2.160.0300.03013.43
5.2.150.0270.04313.43
5.2.140.0370.03713.43
5.2.130.0370.05713.43
5.2.120.0470.03013.43
5.2.110.0500.04013.43
5.2.100.0370.04313.43
5.2.90.0370.06013.43
5.2.80.0370.02313.43
5.2.70.0400.05713.43
5.2.60.0300.03013.43
5.2.50.0370.05013.43
5.2.40.0300.04713.43
5.2.30.0330.04313.43
5.2.20.0330.03313.43
5.2.10.0430.04713.43
5.2.00.0330.03313.43
5.1.60.0270.02013.43
5.1.50.0230.03013.43
5.1.40.0330.04713.43
5.1.30.0300.03713.43
5.1.20.0270.05313.43
5.1.10.0270.03313.43
5.1.00.0170.03013.43
5.0.50.0100.02313.43
5.0.40.0100.03013.43
5.0.30.0130.03013.43
5.0.20.0230.01713.43
5.0.10.0170.03713.43
5.0.00.0100.03713.43
4.4.90.0130.03313.43
4.4.80.0200.01713.43
4.4.70.0130.01713.43
4.4.60.0170.01713.43
4.4.50.0130.03013.43
4.4.40.0130.03713.43
4.4.30.0170.01313.43
4.4.20.0100.01713.43
4.4.10.0170.03313.43
4.4.00.0200.02713.43
4.3.110.0130.02013.43
4.3.100.0130.01313.43
4.3.90.0100.01713.43
4.3.80.0170.04313.43
4.3.70.0130.02713.43
4.3.60.0170.02713.43
4.3.50.0130.03013.43
4.3.40.0130.04313.43
4.3.30.0070.02313.43
4.3.20.0100.03713.43
4.3.10.0100.01713.43
4.3.00.0130.02713.43

preferences:
140.97 ms | 1394 KiB | 7 Q