3v4l.org

run code in 300+ PHP versions simultaneously
<?php function should_return_nothing(): void { return null; } $x = should_return_nothing();

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.60.0070.00716.63
8.3.50.0060.01218.15
8.3.40.0100.00618.73
8.3.30.0070.00718.51
8.3.20.0030.00520.21
8.3.10.0040.00423.48
8.3.00.0080.00019.25
8.2.180.0100.01016.75
8.2.170.0070.01022.96
8.2.160.0180.00322.30
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0050.00319.64
8.2.110.0070.00322.11
8.2.100.0040.00717.91
8.2.90.0040.00419.13
8.2.80.0030.00617.97
8.2.70.0050.00317.50
8.2.60.0030.00517.91
8.2.50.0000.00818.07
8.2.40.0030.00819.38
8.2.30.0070.00020.49
8.2.20.0030.00617.43
8.2.10.0090.00017.98
8.2.00.0080.00017.91
8.1.280.0080.00625.92
8.1.270.0050.00322.06
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.48
8.1.230.0030.00917.42
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0070.00317.22
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0060.00318.59
8.1.160.0030.00621.94
8.1.150.0070.00018.75
8.1.140.0090.00019.43
8.1.130.0050.00317.57
8.1.120.0040.00417.30
8.1.110.0050.00317.31
8.1.100.0040.00417.22
8.1.90.0050.00217.22
8.1.80.0030.00617.21
8.1.70.0070.00017.17
8.1.60.0030.00517.51
8.1.50.0050.00317.34
8.1.40.0060.00317.27
8.1.30.0000.01017.39
8.1.20.0060.00617.40
8.1.10.0000.00717.39
8.1.00.0080.00417.19
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.31
8.0.270.0000.00717.12
8.0.260.0030.00317.18
8.0.250.0080.00016.90
8.0.240.0040.00416.93
8.0.230.0030.00316.86
8.0.220.0070.00016.78
8.0.210.0000.00716.80
8.0.200.0040.00416.85
8.0.190.0060.00316.92
8.0.180.0030.00616.91
8.0.170.0000.00816.72
8.0.160.0050.00316.75
8.0.150.0000.00716.68
8.0.140.0080.00216.76
8.0.130.0000.00613.23
8.0.120.0040.00416.75
8.0.110.0000.00816.87
8.0.100.0040.00416.79
8.0.90.0000.00716.71
8.0.80.0170.00016.88
8.0.70.0030.00616.73
8.0.60.0000.00716.69
8.0.50.0050.00216.77
8.0.30.0050.01117.04
8.0.20.0110.00717.40
8.0.10.0070.00016.76
8.0.00.0110.00816.70
7.4.330.0000.00516.79
7.4.320.0060.00016.47
7.4.300.0070.00016.43
7.4.290.0000.00616.36
7.4.280.0080.00016.36
7.4.270.0030.00316.27
7.4.260.0040.00416.42
7.4.250.0000.00716.32
7.4.240.0010.00716.36
7.4.230.0000.00716.42
7.4.220.0160.01016.36
7.4.210.0070.00716.33
7.4.200.0000.00716.30
7.4.160.0060.00916.30
7.4.150.0110.00617.40
7.4.140.0110.01117.86
7.4.130.0110.00616.45
7.4.120.0140.00916.36
7.4.110.0140.00316.30
7.4.100.0030.01316.50
7.4.90.0100.00716.39
7.4.80.0030.01319.39
7.4.70.0160.00816.50
7.4.60.0090.00616.26
7.4.50.0060.00816.28
7.4.40.0160.00016.20
7.4.30.0100.01316.35
7.4.00.0030.01314.72
7.3.330.0060.00013.16
7.3.320.0020.00213.07
7.3.310.0000.00716.11
7.3.300.0040.00416.27
7.3.290.0100.00516.22
7.3.280.0120.00616.17
7.3.270.0150.00917.40
7.3.260.0100.00716.35
7.3.250.0120.00416.35
7.3.240.0110.01016.16
7.3.230.0080.00816.39
7.3.210.0170.00016.12
7.3.200.0080.00816.44
7.3.190.0090.00916.27
7.3.180.0030.01316.34
7.3.170.0150.00616.27
7.3.160.0090.00616.18
7.2.330.0120.00616.44
7.2.320.0140.00316.21
7.2.310.0110.00516.32
7.2.300.0070.01016.15
7.2.290.0130.01016.51
7.2.60.0040.01116.59
7.2.00.0000.00918.97
7.1.200.0070.00715.54
7.1.100.0100.00717.94
7.1.70.0000.00717.02
7.1.60.0140.01019.48
7.1.50.0130.01016.92
7.1.00.0100.07022.36
7.0.200.0290.00714.77
7.0.60.0130.03719.92
7.0.50.0070.03717.80
7.0.40.0130.08320.08
7.0.30.0100.04720.13
7.0.20.0230.06020.26
7.0.10.0030.09020.26
7.0.00.0070.07320.09
5.6.280.0170.06321.02
5.6.210.0030.08320.54
5.6.200.0070.07718.25
5.6.190.0170.06320.46
5.6.180.0430.08020.77
5.6.170.0300.04320.54
5.6.160.0070.08320.55
5.6.150.0070.08318.29
5.6.140.0130.05718.16
5.6.130.0170.04318.29
5.6.120.0100.04020.98
5.6.110.0100.03720.91
5.6.100.0000.08721.11
5.6.90.0100.06020.94
5.6.80.0030.08720.35
5.5.350.4000.04020.42
5.5.340.0130.04018.05
5.5.330.0100.08320.45
5.5.320.0070.08320.36
5.5.310.0300.04020.38
5.5.300.0000.06317.94
5.5.290.0070.07317.95
5.5.280.0070.04720.98
5.5.270.0070.08720.95
5.5.260.0100.06020.96
5.5.250.0070.04020.77
5.5.240.0130.07320.16

preferences:
42.67 ms | 400 KiB | 5 Q