3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace ReturnNullsafeByrefMethod; class Foo { public function &doFoo(\stdClass $foo): void { } }

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.3.70.0030.01318.56
8.3.60.0070.01118.43
8.3.50.0150.00616.43
8.3.40.0070.00721.82
8.3.30.0140.00418.67
8.3.20.0080.00024.18
8.3.10.0000.00824.66
8.3.00.0100.00026.16
8.2.180.0130.00725.92
8.2.170.0170.00318.81
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0060.00326.35
8.2.110.0060.00322.07
8.2.100.0080.00417.78
8.2.90.0030.00517.38
8.2.80.0040.00418.56
8.2.70.0060.00317.50
8.2.60.0000.00817.78
8.2.50.0000.00818.07
8.2.40.0080.00019.70
8.2.30.0080.00017.98
8.2.20.0080.00017.93
8.2.10.0040.00419.02
8.2.00.0040.00419.11
8.1.280.0160.00025.92
8.1.270.0070.00023.99
8.1.260.0040.00428.09
8.1.250.0030.00528.09
8.1.240.0000.00923.79
8.1.230.0040.00719.47
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.09
8.1.190.0030.00517.10
8.1.180.0000.00818.10
8.1.170.0000.00818.57
8.1.160.0050.00218.79
8.1.150.0000.00718.75
8.1.140.0030.00518.76
8.1.130.0000.00719.96
8.1.120.0040.00417.34
8.1.110.0000.00717.21
8.1.100.0000.00917.35
8.1.90.0050.00317.37
8.1.80.0080.00017.32
8.1.70.0070.00017.33
8.1.60.0030.00517.48
8.1.50.0040.00417.44
8.1.40.0040.00417.41
8.1.30.0040.00517.38
8.1.20.0060.00317.42
8.1.10.0040.00417.26
8.1.00.0030.00517.18
8.0.300.0000.00718.77
8.0.290.0000.00916.58
8.0.280.0070.00018.22
8.0.270.0080.00017.88
8.0.260.0000.00718.59
8.0.250.0000.00716.75
8.0.240.0070.00016.86
8.0.230.0030.00316.72
8.0.220.0070.00016.74
8.0.210.0030.00316.63
8.0.200.0000.00816.73
8.0.190.0050.00316.75
8.0.180.0050.00316.69
8.0.170.0040.00416.78
8.0.160.0040.00416.73
8.0.150.0030.00316.66
8.0.140.0070.00416.75
8.0.130.0050.00013.23
8.0.120.0000.00816.70
8.0.110.0040.00416.80
8.0.100.0040.00416.78
8.0.90.0070.00016.75
8.0.80.0110.00316.71
8.0.70.0050.00316.55
8.0.60.0070.00016.66
8.0.50.0070.00016.64
8.0.30.0150.00416.93
8.0.20.0100.00916.88
8.0.10.0000.00716.92
8.0.00.0100.01016.39
7.4.330.0050.00015.55
7.4.320.0060.00016.37
7.4.300.0000.00616.46
7.4.290.0000.00716.32
7.4.280.0000.00716.46
7.4.270.0030.00316.52
7.4.260.0060.00013.15
7.4.250.0080.00016.46
7.4.240.0030.00316.44
7.4.230.0040.00416.29
7.4.220.0030.00516.36
7.4.210.0060.00916.49
7.4.200.0030.00316.45
7.4.130.0150.00516.30
7.4.120.0080.01616.43
7.4.110.0110.01116.42
7.4.100.0080.01316.38
7.4.90.0090.01516.30
7.4.80.0150.00716.39
7.4.70.0110.01416.52
7.4.60.0150.01116.45
7.4.50.0190.00316.46
7.4.40.0160.00616.35
7.4.30.0060.01516.28
7.4.20.0070.01416.29
7.4.10.0060.01916.29
7.4.00.0120.01216.23
7.3.330.0040.00416.16
7.3.320.0000.00513.24
7.3.310.0030.00316.07
7.3.300.0000.00716.00
7.3.290.0090.01016.14
7.3.260.0130.00716.23
7.3.240.0150.00816.20
7.3.230.0130.01016.40
7.3.220.0150.00716.16
7.3.210.0120.01216.07
7.3.200.0120.01216.29
7.3.190.0190.00616.17
7.3.180.0140.00616.29
7.3.170.0030.01816.19
7.3.160.0090.01616.19
7.3.150.0080.01416.48
7.3.140.0070.01716.20
7.3.130.0130.00916.14
7.3.120.0190.00016.24
7.3.110.0110.01116.41
7.3.100.0040.01816.40
7.3.90.0100.01116.07
7.3.80.0100.01016.09
7.3.70.0140.00816.16
7.3.60.0150.01016.21
7.3.50.0090.01316.12
7.3.40.0100.01016.17
7.3.30.0090.01315.95
7.3.20.0090.01516.24
7.3.10.0230.00316.23
7.3.00.0110.01616.35
7.2.340.0160.01016.49
7.2.330.0080.01516.23
7.2.320.0160.00916.52
7.2.310.0160.01116.26
7.2.300.0070.01516.38
7.2.290.0070.01716.12
7.2.280.0070.01716.28
7.2.270.0120.00916.43
7.2.260.0070.01816.46
7.2.250.0130.00616.40
7.2.240.0060.01616.38
7.2.230.0140.00616.19
7.2.220.0090.01516.57
7.2.210.0090.01316.16
7.2.200.0120.00916.37
7.2.190.0100.01316.23
7.2.180.0170.00716.36
7.2.170.0090.01216.31
7.2.160.0100.01016.15
7.2.150.0110.01416.35
7.2.140.0150.01216.38
7.2.130.0160.01016.50
7.2.120.0570.01616.54
7.2.110.0130.01316.48
7.2.100.0170.00716.43
7.2.90.0120.01216.40
7.2.80.0100.01316.45
7.2.70.0110.01116.19
7.2.60.0090.01216.39
7.2.50.0160.01016.60
7.2.40.0070.01416.48
7.2.30.0160.00616.55
7.2.20.0230.00816.29
7.2.10.0130.01216.26
7.2.00.0100.01016.23

preferences:
60.1 ms | 401 KiB | 5 Q