3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Asd { public function qwerty(int $q): array; } class Qwertyasd implements Asd { public function qwerty(int $q): array { return 123; } } (new Qwertyasd)->qwerty(25);

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.0170.00018.25
8.3.50.0070.00717.80
8.3.40.0100.01018.84
8.3.30.0070.00718.80
8.3.20.0040.00420.33
8.3.10.0000.00820.66
8.3.00.0050.00321.77
8.2.180.0120.00618.42
8.2.170.0100.00722.96
8.2.160.0150.00322.19
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0040.00419.36
8.2.120.0050.00326.35
8.2.110.0140.00721.03
8.2.100.0060.00617.84
8.2.90.0040.00419.22
8.2.80.0030.00517.97
8.2.70.0080.00017.50
8.2.60.0050.00317.93
8.2.50.0090.00018.09
8.2.40.0040.00420.19
8.2.30.0030.00519.52
8.2.20.0070.00017.73
8.2.10.0050.00217.97
8.2.00.0050.00318.16
8.1.280.0040.01125.92
8.1.270.0040.00422.02
8.1.260.0000.00728.09
8.1.250.0030.00528.09
8.1.240.0090.00019.56
8.1.230.0040.00817.42
8.1.220.0090.00017.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0030.00618.62
8.1.160.0000.00820.57
8.1.150.0000.00818.76
8.1.140.0080.00019.57
8.1.130.0050.00217.64
8.1.120.0070.00017.39
8.1.110.0030.00617.35
8.1.100.0040.00417.27
8.1.90.0060.00317.43
8.1.80.0000.00717.36
8.1.70.0000.00717.34
8.1.60.0000.00717.41
8.1.50.0030.00517.43
8.1.40.0090.00017.38
8.1.30.0030.00517.56
8.1.20.0050.00317.46
8.1.10.0070.00017.38
8.1.00.0030.00517.31
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0030.00318.44
8.0.270.0030.00317.30
8.0.260.0000.00617.27
8.0.250.0000.00717.06
8.0.240.0030.00316.95
8.0.230.0070.00016.97
8.0.220.0000.00816.85
8.0.210.0030.00316.87
8.0.200.0030.00317.07
8.0.190.0040.00416.95
8.0.180.0080.00016.99
8.0.170.0040.00416.95
8.0.160.0030.00317.00
8.0.150.0040.00416.95
8.0.140.0040.00416.84
8.0.130.0030.00613.38
8.0.120.0050.00316.77
8.0.110.0040.00416.91
8.0.100.0040.00416.96
8.0.90.0070.00016.79
8.0.80.0160.00316.89
8.0.70.0040.00417.00
8.0.60.0030.00516.84
8.0.50.0020.00516.94
8.0.30.0070.01317.07
8.0.20.0100.00917.40
8.0.10.0040.00416.88
8.0.00.0100.00716.76
7.4.330.0000.00516.79
7.4.320.0030.00316.54
7.4.300.0020.00516.49
7.4.290.0030.00316.52
7.4.280.0040.00416.57
7.4.270.0000.00916.55
7.4.260.0030.00616.39
7.4.250.0040.00416.54
7.4.240.0030.00316.53
7.4.230.0000.00716.37
7.4.220.0090.00916.52
7.4.210.0020.01616.50
7.4.200.0040.00416.65
7.4.160.0040.01216.43
7.4.150.0170.00017.40
7.4.140.0170.00317.86
7.4.130.0110.00716.51
7.4.120.0110.00616.47
7.4.110.0130.00316.52
7.4.100.0080.01116.31
7.4.90.0100.00716.59
7.4.80.0070.01319.39
7.4.70.0080.01416.54
7.4.60.0100.00616.45
7.4.50.0040.00716.51
7.4.40.0090.00616.51
7.4.30.0100.00716.51
7.4.00.0080.00814.92
7.3.330.0050.00013.35
7.3.320.0030.00313.29
7.3.310.0020.00516.40
7.3.300.0030.00316.33
7.3.290.0000.00716.36
7.3.280.0070.01016.39
7.3.270.0090.00917.40
7.3.260.0100.01316.43
7.3.250.0120.00416.51
7.3.240.0110.01216.42
7.3.230.0120.01116.40
7.3.210.0130.00316.46
7.3.200.0160.00316.61
7.3.190.0130.00616.38
7.3.180.0060.01016.39
7.3.170.0030.01316.42
7.3.160.0110.01116.37
7.2.330.0140.00316.57
7.2.320.0060.01016.32
7.2.310.0050.01516.58
7.2.300.0000.01616.41
7.2.290.0080.00716.59
7.2.60.0100.00316.79
7.2.00.0000.01518.94
7.1.200.0040.00715.68
7.1.100.0140.00617.82
7.1.70.0040.01116.96
7.1.60.0030.01419.24
7.1.50.0080.00516.81
7.1.00.0030.07722.44
7.0.200.0350.01014.65
7.0.60.0330.07320.01
7.0.50.0230.04017.85
7.0.40.0070.04020.21
7.0.30.0300.08720.07
7.0.20.0400.05720.24
7.0.10.0070.04720.33
7.0.00.0130.08020.09
5.6.280.0000.06321.13
5.6.210.0130.07720.57
5.6.200.0130.04718.25
5.6.190.0100.07720.39
5.6.180.0400.06720.61
5.6.170.0370.05720.56
5.6.160.0000.04320.52
5.6.150.0070.08318.25
5.6.140.0070.08318.15
5.6.130.0070.08018.25
5.6.120.0070.08321.13
5.6.110.0270.06320.89
5.6.100.0070.08021.13
5.6.90.0100.04020.99
5.6.80.0130.03320.36
5.5.350.0230.04020.43
5.5.340.0070.07718.05
5.5.330.0100.08720.29
5.5.320.0600.07020.34
5.5.310.0370.07720.30
5.5.300.0130.07718.03
5.5.290.0000.04317.98
5.5.280.0030.04720.80
5.5.270.0100.03320.73
5.5.260.0000.07720.86
5.5.250.0100.07020.62
5.5.240.0030.07720.23

preferences:
43.06 ms | 400 KiB | 5 Q