3v4l.org

run code in 300+ PHP versions simultaneously
<?php function &returns_reference() { return $someref; } $newref =& returns_reference();

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.5.10.0060.01120.09
8.5.00.0120.00920.02
8.4.160.0130.00925.76
8.4.150.0060.00616.76
8.4.140.0130.00817.61
8.4.130.0160.00919.44
8.4.120.0110.00924.03
8.4.110.0030.00618.78
8.4.100.0090.01018.63
8.4.90.0110.00922.06
8.4.80.0090.01118.63
8.4.70.0050.00318.92
8.4.60.0110.00918.74
8.4.50.0110.01019.29
8.4.40.0160.00319.32
8.4.30.0160.00317.48
8.4.20.0070.01019.54
8.4.10.0090.00619.63
8.3.280.0020.00014.05
8.3.270.0100.01016.47
8.3.260.0110.00616.58
8.3.250.0100.00916.37
8.3.240.0090.00617.11
8.3.230.0090.00916.63
8.3.220.0060.00618.85
8.3.210.0050.00316.77
8.3.200.0050.00316.35
8.3.190.0140.00417.20
8.3.180.0110.01016.51
8.3.170.0100.00717.13
8.3.160.0080.00018.61
8.3.150.0070.01120.87
8.3.140.0000.01116.53
8.3.130.0000.01018.22
8.3.120.0130.00720.75
8.3.110.0100.01020.94
8.3.100.0080.00816.76
8.3.90.0070.00026.77
8.3.80.0090.00017.97
8.3.70.0110.00716.49
8.3.60.0120.00618.56
8.3.50.0110.00821.99
8.3.40.0110.00718.67
8.3.30.0070.00718.68
8.3.20.0080.00021.73
8.3.10.0040.00421.60
8.3.00.0040.00419.01
8.2.290.0130.00520.29
8.2.280.0100.00819.98
8.2.270.0110.00717.17
8.2.260.0070.01118.23
8.2.250.0040.00416.63
8.2.240.0070.01118.66
8.2.230.0060.00322.58
8.2.220.0190.00024.06
8.2.210.0060.00326.77
8.2.200.0060.00318.17
8.2.190.0070.01016.58
8.2.180.0140.00718.31
8.2.170.0060.01018.74
8.2.160.0000.01522.96
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.08
8.2.110.0130.00922.13
8.2.100.0030.00917.78
8.2.90.0040.00417.75
8.2.80.0030.00518.78
8.2.70.0000.00817.68
8.2.60.0080.00017.38
8.2.50.0030.00617.38
8.2.40.0030.00717.63
8.2.30.0050.00319.08
8.2.20.0080.00018.04
8.2.10.0040.00417.91
8.2.00.0040.00417.51
8.1.330.0090.00421.79
8.1.320.0040.00416.31
8.1.310.0080.00016.73
8.1.300.0140.00419.54
8.1.290.0090.00030.84
8.1.280.0150.00625.92
8.1.270.0120.00622.10
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.01023.79
8.1.230.0080.00319.14
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0100.00017.13
8.1.180.0060.00318.10
8.1.170.0080.00018.50
8.1.160.0050.00218.73
8.1.150.0070.00020.32
8.1.140.0040.00419.42
8.1.130.0030.00318.96
8.1.120.0070.00017.35
8.1.110.0060.00317.43
8.1.100.0000.00817.39
8.1.90.0020.00517.35
8.1.80.0040.00417.42
8.1.70.0000.00817.37
8.1.60.0040.00417.51
8.1.50.0080.00017.49
8.1.40.0040.00417.57
8.1.30.0040.00417.59
8.1.20.0030.00517.62
8.1.10.0040.00417.46
8.1.00.0080.00417.22
8.0.300.0080.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00318.36
8.0.270.0030.00317.12
8.0.260.0030.00317.25
8.0.250.0000.00716.91
8.0.240.0040.00416.78
8.0.230.0000.01016.79
8.0.220.0040.00416.81
8.0.210.0070.00016.68
8.0.200.0000.00716.86
8.0.190.0000.00716.88
8.0.180.0000.00716.88
8.0.170.0000.00716.73
8.0.160.0000.00816.73
8.0.150.0000.00716.84
8.0.140.0050.00316.63
8.0.130.0000.00513.18
8.0.120.0000.00716.82
8.0.110.0000.00716.85
8.0.100.0000.00716.79
8.0.90.0050.00316.77
8.0.80.0100.00716.77
8.0.70.0050.00216.79
8.0.60.0040.00416.92
8.0.50.0040.00416.87
8.0.30.0100.00817.04
8.0.20.0100.00817.40
8.0.10.0030.00316.78
8.0.00.0070.01016.45
7.4.330.0030.00315.55
7.4.320.0070.00016.48
7.4.300.0000.00616.60
7.4.290.0060.00016.35
7.4.280.0040.00416.60
7.4.270.0030.00316.49
7.4.260.0050.00516.48
7.4.250.0000.00816.58
7.4.240.0030.00316.51
7.4.230.0000.00716.69
7.4.220.0100.01316.48
7.4.210.0070.00816.62
7.4.200.0070.00016.64
7.4.160.0090.00716.49
7.4.150.0150.01117.40
7.4.140.0070.01117.86
7.4.130.0100.00916.49
7.4.120.0090.01016.41
7.4.110.0110.00916.44
7.4.100.0090.00816.42
7.4.90.0090.00916.48
7.4.80.0100.00719.39
7.4.70.0090.01216.48
7.4.60.0130.00316.41
7.4.50.0030.01216.29
7.4.40.0030.01216.58
7.4.30.0090.01316.38
7.4.00.0070.00714.88
7.3.330.0000.00513.11
7.3.320.0000.00513.23
7.3.310.0030.00316.18
7.3.300.0030.00316.24
7.3.290.0070.00716.14
7.3.280.0100.00916.21
7.3.270.0110.00517.40
7.3.260.0120.00616.23
7.3.250.0110.00616.31
7.3.240.0130.00916.29
7.3.230.0190.00316.25
7.3.210.0030.01916.20
7.3.200.0120.01216.23
7.3.190.0060.01016.27
7.3.180.0130.00316.29
7.3.170.0130.01016.43
7.3.160.0000.01816.27
7.3.150.0150.00416.15
7.3.10.0100.00316.59
7.3.00.0000.01416.29
7.2.330.0120.00916.23
7.2.320.0140.00716.43
7.2.310.0160.00616.45
7.2.300.0030.01416.44
7.2.290.0100.00616.71
7.2.130.0000.01816.44
7.2.120.0070.00716.48
7.2.110.0040.00816.63
7.2.100.0060.00916.51
7.2.90.0070.01016.87
7.2.80.0030.01116.55
7.2.70.0090.00616.71
7.2.60.0050.00816.70
7.2.50.0070.00816.73
7.2.40.0000.01116.82
7.2.30.0040.00416.51
7.2.20.0040.00716.64
7.2.10.0090.00616.58
7.2.00.0130.00016.75
7.1.250.0040.00415.40
7.1.200.0060.00615.64
7.1.70.0000.00817.00
7.1.60.0080.00417.19
7.1.10.0130.05722.27
7.1.00.0030.06022.25
7.0.200.0060.00316.23
7.0.150.0030.06321.90
7.0.140.0100.05321.88
7.0.130.0070.05722.01
7.0.120.0030.05721.88
7.0.110.0070.06021.95
7.0.100.0130.07021.89
7.0.90.0070.06021.93
7.0.80.0030.05721.86
7.0.70.0000.06021.75
7.0.60.0100.05021.61
7.0.50.0100.05321.91
7.0.40.0030.06321.94
7.0.30.0100.05321.86
7.0.20.0100.05021.88
7.0.10.0200.06021.94
7.0.00.0030.06021.75

preferences:
158.44 ms | 403 KiB | 5 Q