3v4l.org

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

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.1.40.0100.00517.37
8.1.30.0180.00717.46
8.1.20.0230.00517.34
8.1.10.0190.00717.23
8.1.00.0190.00817.32
8.0.170.0170.00016.62
8.0.160.0140.00916.83
8.0.150.0200.00016.63
8.0.140.0180.00316.79
8.0.130.0120.00816.62
8.0.120.0130.00616.81
8.0.110.0160.00616.65
8.0.100.0160.00516.75
8.0.90.0190.00416.76
8.0.80.0180.00616.82
8.0.70.0190.00416.56
8.0.60.0140.00716.65
8.0.50.0160.00416.70
8.0.30.0150.00416.65
8.0.20.0140.00716.80
8.0.10.0170.00716.80
8.0.00.0090.00316.80
7.4.280.0040.00416.35
7.4.270.0150.00916.36
7.4.260.0170.00616.34
7.4.250.0180.00616.48
7.4.240.0160.00816.32
7.4.230.0070.01316.24
7.4.220.0120.00816.41
7.4.210.0100.00916.36
7.4.200.0120.00516.30
7.4.190.0110.00816.32
7.4.180.0190.00016.38
7.4.160.0140.00616.50
7.4.150.0190.00016.38
7.4.140.0190.00316.43
7.4.130.0190.00316.28
7.4.120.0170.00616.15
7.4.110.0200.00016.27
7.4.100.0130.01016.36
7.4.90.0130.00716.22
7.4.80.0180.00316.25
7.4.70.0220.00016.16
7.4.60.0120.00916.21
7.4.50.0110.00716.04
7.4.40.0140.00616.17
7.4.30.0160.00316.34
7.4.20.0130.00716.10
7.4.10.0170.00316.32
7.4.00.0180.00016.18
7.3.330.0200.00216.23
7.3.320.0110.01016.18
7.3.310.0140.00716.26
7.3.300.0160.00816.05
7.3.290.0140.00616.11
7.3.280.0230.00016.07
7.3.270.0170.00316.18
7.3.260.0120.00816.32
7.3.250.0150.00616.28
7.3.240.0190.00316.03
7.3.230.0150.00516.10
7.3.220.0170.00315.97
7.3.210.0150.00815.97
7.3.200.0110.01116.05
7.3.190.0130.00816.14
7.3.180.0140.00716.18
7.3.170.0210.00016.01
7.3.160.0200.00016.24
7.3.150.0170.00416.22
7.3.140.0100.01016.00
7.3.130.0160.00316.22
7.3.120.0140.00716.25
7.3.110.0150.00516.09
7.3.100.0100.01016.07
7.3.90.0140.00716.45
7.3.80.0190.00016.19
7.3.70.0210.00016.25
7.3.60.0130.00616.21
7.3.50.0110.00716.27
7.3.40.0210.00016.30
7.3.30.0170.00316.07
7.3.20.0120.00916.26
7.3.10.0230.00016.15
7.3.00.0130.00916.21
7.2.340.0170.00316.12
7.2.330.0140.00716.22
7.2.320.0220.00016.29
7.2.310.0140.00716.20
7.2.300.0180.00316.19
7.2.290.0170.00416.22
7.2.280.0140.00715.95
7.2.270.0160.00516.05
7.2.260.0150.00616.04
7.2.250.0180.00316.16
7.2.240.0210.00016.19
7.2.230.0100.01016.20
7.2.220.0140.00716.05
7.2.210.0150.00816.18
7.2.200.0140.00916.17
7.2.190.0160.00416.24
7.2.180.0160.00516.35
7.2.170.0160.00316.25
7.2.160.0160.00616.34
7.2.150.0150.00616.42
7.2.140.0170.00416.25
7.2.130.0100.01016.59
7.2.120.0170.00316.36
7.2.110.0130.00716.28
7.2.100.0210.00016.56
7.2.90.0190.00316.21
7.2.80.0160.00616.41
7.2.70.0130.01016.23
7.2.60.0200.00016.23
7.2.50.0220.00016.41
7.2.40.0200.00416.29
7.2.30.0230.00016.51
7.2.20.0180.00416.33
7.2.10.0220.00016.59
7.2.00.0460.00316.50

preferences:
143.75 ms | 1398 KiB | 7 Q