3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ function method(array $a){ } } class Bar extends Foo{ /** * $a array */ function method($a){ } }

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.0100.01316.63
8.3.60.0190.00016.38
8.3.50.0130.00621.20
8.3.40.0070.01418.42
8.3.30.0120.00618.46
8.3.20.0040.00420.27
8.3.10.0070.00021.64
8.3.00.0040.00417.88
8.2.180.0130.00716.32
8.2.170.0130.00622.96
8.2.160.0080.00620.98
8.2.150.0070.00024.18
8.2.140.0070.00724.66
8.2.130.0000.00726.16
8.2.120.0080.00020.93
8.2.110.0090.00021.07
8.2.100.0070.00417.91
8.2.90.0080.00019.15
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.55
8.2.50.0020.00518.10
8.2.40.0050.00322.18
8.2.30.0040.00419.04
8.2.20.0040.00417.98
8.2.10.0080.00018.12
8.2.00.0040.00418.06
8.1.280.0100.01025.92
8.1.270.0060.00321.89
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00320.79
8.1.230.0040.00719.00
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0060.00317.11
8.1.190.0080.00017.10
8.1.180.0050.00218.10
8.1.170.0000.00718.50
8.1.160.0080.00018.72
8.1.150.0000.00819.99
8.1.140.0040.00419.57
8.1.130.0070.00017.37
8.1.120.0070.00017.28
8.1.110.0040.00417.22
8.1.100.0040.00417.30
8.1.90.0070.00017.34
8.1.80.0000.00717.31
8.1.70.0030.00317.14
8.1.60.0040.00417.45
8.1.50.0040.00417.43
8.1.40.0000.00817.29
8.1.30.0030.00617.50
8.1.20.0000.00817.55
8.1.10.0050.00217.42
8.1.00.0000.00717.19
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0000.00718.31
8.0.270.0040.00417.12
8.0.260.0050.00316.67
8.0.250.0020.00516.84
8.0.240.0030.00516.81
8.0.230.0000.00716.80
8.0.220.0000.00716.76
8.0.210.0030.00316.75
8.0.200.0070.00016.87
8.0.190.0030.00516.71
8.0.180.0000.00716.69
8.0.170.0070.00016.82
8.0.160.0000.00816.74
8.0.150.0030.00616.63
8.0.140.0000.01116.70
8.0.130.0030.00313.22
8.0.120.0000.00816.73
8.0.110.0030.00316.79
8.0.100.0070.00016.55
8.0.90.0040.00416.80
8.0.80.0060.01016.71
8.0.70.0040.00416.57
8.0.60.0000.00816.70
8.0.50.0000.00716.67
8.0.30.0110.00616.88
8.0.20.0080.01117.40
8.0.10.0060.00316.79
8.0.00.0100.00616.71
7.4.330.0020.00215.55
7.4.320.0040.00416.39
7.4.300.0030.00316.47
7.4.290.0040.00416.38
7.4.280.0040.00416.50
7.4.270.0030.00316.47
7.4.260.0000.00716.40
7.4.250.0050.00316.29
7.4.240.0000.00716.47
7.4.230.0070.00016.12
7.4.220.0060.01216.26
7.4.210.0060.00916.29
7.4.200.0030.00316.20
7.4.160.0110.00416.37
7.4.150.0110.00717.40
7.4.140.0120.01017.86
7.4.130.0060.01216.33
7.4.120.0090.01216.38
7.4.110.0030.01416.33
7.4.100.0080.00916.41
7.4.90.0120.00616.52
7.4.80.0050.01319.39
7.4.70.0070.01016.45
7.4.60.0080.00816.28
7.4.50.0040.01516.34
7.4.40.0030.01316.39
7.4.30.0150.00416.29
7.4.00.0120.00314.76
7.3.330.0060.00012.99
7.3.320.0030.00313.16
7.3.310.0040.00416.06
7.3.300.0000.00616.05
7.3.290.0100.00616.14
7.3.280.0100.00816.16
7.3.270.0140.00717.40
7.3.260.0110.01016.24
7.3.250.0130.00916.22
7.3.240.0120.00516.16
7.3.230.0080.00816.37
7.3.210.0040.01516.07
7.3.200.0060.01016.05
7.3.190.0160.00016.19
7.3.180.0040.01216.18
7.3.170.0160.00016.53
7.3.160.0110.00816.09
7.3.120.0070.01014.69
7.3.110.0110.00714.79
7.3.100.0070.00714.66
7.3.90.0040.01214.73
7.3.80.0080.00014.79
7.3.70.0050.00514.48
7.3.60.0030.00614.30
7.3.50.0090.00614.57
7.3.40.0050.00414.29
7.3.30.0000.01014.54
7.3.20.0140.00316.54
7.3.10.0040.01116.53
7.3.00.0030.00616.51
7.2.330.0000.01616.31
7.2.320.0110.00616.21
7.2.310.0030.01416.33
7.2.300.0060.01616.19
7.2.290.0040.01416.45
7.2.240.0000.01414.85
7.2.230.0070.00715.01
7.2.220.0070.00714.79
7.2.210.0040.01115.04
7.2.200.0040.01414.92
7.2.190.0040.01514.89
7.2.180.0110.00714.73
7.2.170.0120.00314.79
7.2.160.0040.01414.90
7.2.150.0060.00916.62
7.2.140.0070.00716.75
7.2.130.0120.00316.63
7.2.120.0090.00616.83
7.2.110.0070.00316.66
7.2.100.0030.01316.61
7.2.90.0070.00416.46
7.2.80.0090.00616.45
7.2.70.0120.00616.52
7.2.60.0070.00616.62
7.2.50.0080.00816.48
7.2.40.0100.00716.83
7.2.30.0030.00716.50
7.2.20.0100.00716.44
7.2.10.0090.00316.88
7.2.00.0090.00817.85
7.1.330.0030.01015.42
7.1.320.0060.00615.51
7.1.310.0030.00715.55
7.1.300.0100.00315.50
7.1.290.0070.01015.59
7.1.280.0060.00915.35
7.1.270.0040.01115.57
7.1.260.0080.00415.62
7.1.250.0120.00015.74
7.1.200.0200.00315.35
7.1.70.0030.00517.02
7.1.60.0070.00717.31
7.1.50.0290.01034.74
7.1.40.0230.01334.41
7.1.30.0130.02034.17
7.1.20.0170.01734.25
7.1.10.0030.01016.25
7.1.00.0030.01016.55
7.0.200.0050.00316.52
7.0.180.0000.01015.91
7.0.170.0100.00716.15
7.0.160.0030.01315.91
7.0.150.0000.01315.99
7.0.140.0030.00716.05
7.0.130.0070.01016.20
7.0.120.0000.01316.39
7.0.110.0030.01316.10
7.0.100.0070.01016.04
7.0.90.0030.01315.83
7.0.80.0000.01016.05
7.0.70.0030.00715.94
7.0.60.0100.00315.98
7.0.50.0070.01016.18
7.0.40.0000.01716.29
7.0.30.0070.01016.04
7.0.20.0030.01016.14
7.0.10.0070.01016.14
7.0.00.0000.01316.24

preferences:
53.94 ms | 401 KiB | 5 Q