3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(&$a){} foo(($a=1));

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)
8.4.20.0040.00917.32
8.4.10.0030.00621.47
8.3.150.0110.00820.98
8.3.140.0030.00517.01
8.3.130.0180.00617.18
8.3.120.0230.00817.96
8.3.110.0250.00418.01
8.3.100.0280.00818.93
8.3.90.0290.00719.99
8.3.80.0270.00616.46
8.3.70.0290.00617.19
8.3.60.0220.01217.26
8.3.50.0200.00620.52
8.3.40.0220.00518.80
8.3.30.0280.00417.94
8.3.20.0270.00519.73
8.3.10.0220.00719.97
8.3.00.0150.00520.40
8.2.270.0060.01217.30
8.2.260.0080.00016.69
8.2.250.0200.01018.30
8.2.240.0190.01117.44
8.2.230.0240.00418.62
8.2.220.0260.00523.59
8.2.210.0240.01019.84
8.2.200.0250.00616.68
8.2.190.0200.01216.72
8.2.180.0240.00719.75
8.2.170.0200.00818.19
8.2.160.0230.00819.43
8.2.150.0240.00420.15
8.2.140.0280.00519.84
8.2.130.0290.00520.40
8.2.120.0220.00718.54
8.2.110.0200.00817.97
8.2.100.0250.00617.57
8.2.90.0220.00717.68
8.2.80.0250.00718.00
8.2.70.0230.00717.33
8.2.60.0200.00617.32
8.2.50.0170.01017.47
8.2.40.0210.00518.23
8.2.30.0200.00817.59
8.2.20.0220.00717.56
8.2.10.0190.00517.98
8.2.00.0180.00418.04
8.1.310.0100.00720.16
8.1.300.0190.00717.42
8.1.290.0150.00417.11
8.1.280.0150.00319.43
8.1.270.0130.00319.63
8.1.260.0150.00820.45
8.1.250.0150.00820.85
8.1.240.0140.00318.84
8.1.230.0160.00718.37
8.1.220.0160.00217.36
8.1.210.0200.00717.67
8.1.200.0190.00717.22
8.1.190.0190.00317.08
8.1.180.0160.00817.32
8.1.170.0180.00817.53
8.1.160.0170.00717.68
8.1.150.0240.00317.67
8.1.140.0140.01017.66
8.1.130.0160.00718.09
8.1.120.0190.00817.20
8.1.110.0180.00817.10
8.1.100.0220.00517.20
8.1.90.0150.00617.17
8.1.80.0150.00617.20
8.1.70.0150.00317.24
8.1.60.0100.00517.35
8.1.50.0100.00717.39
8.1.40.0180.00517.34
8.1.30.0190.00417.45
8.1.20.0190.00717.31
8.1.10.0200.00217.42
8.1.00.0130.00717.33
8.0.300.0130.00717.69
8.0.290.0140.00516.62
8.0.280.0110.00717.13
8.0.270.0160.00617.01
8.0.260.0150.00617.16
8.0.250.0160.00516.54
8.0.240.0180.00616.67
8.0.230.0210.00616.65
8.0.220.0190.00516.71
8.0.210.0190.00716.46
8.0.200.0210.00416.63
8.0.190.0190.00216.69
8.0.180.0180.00516.66
8.0.170.0220.00616.64
8.0.160.0220.00616.65
8.0.150.0190.00716.63
8.0.140.0220.00616.58
8.0.130.0190.00715.44
8.0.120.0200.00716.61
8.0.110.0180.00816.56
8.0.100.0210.00516.54
8.0.90.0230.00416.65
8.0.80.0190.00816.72
8.0.70.0190.00616.64
8.0.60.0150.00716.57
8.0.50.0140.00416.56
8.0.30.0150.00816.59
8.0.20.0180.00416.74
8.0.10.0090.00616.82
8.0.00.0140.00716.64
7.4.330.0100.00716.01
7.4.320.0130.00116.27
7.4.300.0100.00316.33
7.4.290.0150.00316.27
7.4.280.0120.00216.34
7.4.270.0120.00416.38
7.4.260.0180.00515.21
7.4.250.0180.00416.29
7.4.240.0180.00816.34
7.4.230.0210.00316.25
7.4.220.0120.00716.43
7.4.210.0150.00616.49
7.4.200.0180.00616.30
7.4.190.0390.00616.18
7.4.180.0280.00716.25
7.4.160.0320.00316.33
7.4.150.0300.00416.20
7.4.140.0290.00516.26
7.4.130.0140.01016.43
7.4.120.0180.00716.29
7.4.110.0150.01116.33
7.4.100.0160.00916.36
7.4.90.0190.00816.32
7.4.80.0190.00916.33
7.4.70.0160.01016.27
7.4.60.0190.00916.31
7.4.50.0180.00516.15
7.4.40.0190.00616.29
7.4.30.0180.00716.34
7.4.20.0200.00816.24
7.4.10.0180.00816.27
7.4.00.0200.00816.31
7.3.330.0190.00516.24
7.3.320.0190.00515.25
7.3.310.0190.00516.21
7.3.300.0160.00916.24
7.3.290.0150.00716.28
7.3.280.0280.00416.18
7.3.270.0300.00216.18
7.3.260.0240.00516.23
7.3.250.0140.01116.29
7.3.240.0150.00916.21
7.3.230.0200.00516.25
7.3.220.0180.00716.24
7.3.210.0180.00916.29
7.3.200.0150.00916.26
7.3.190.0240.00616.31
7.3.180.0220.00716.21
7.3.170.0160.01116.25
7.3.160.0190.00816.22
7.3.150.0180.01016.26
7.3.140.0200.00716.22
7.3.130.0180.01016.21
7.3.120.0180.00816.35
7.3.110.0170.00916.28
7.3.100.0190.00516.25
7.3.90.0180.00416.31
7.3.80.0200.00516.22
7.3.70.0190.00516.15
7.3.60.0190.00816.30
7.3.50.0170.00716.19
7.3.40.0210.00916.24
7.3.30.0210.00716.25
7.3.20.0200.00716.20
7.3.10.0230.00416.24
7.3.00.0200.00616.23

preferences:
27.87 ms | 403 KiB | 5 Q