3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar($foo); } class One implements Foo { public function bar($foo): bool { } }

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.40.0040.01218.49
8.3.30.0070.00718.59
8.3.20.0080.00018.73
8.3.10.0080.00023.48
8.3.00.0080.00023.65
8.2.170.0120.00322.96
8.2.160.0100.01018.91
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00418.09
8.2.120.0070.00026.35
8.2.110.0130.00321.11
8.2.100.0130.00017.63
8.2.90.0050.00317.50
8.2.80.0000.00817.97
8.2.70.0080.00017.77
8.2.60.0080.00017.80
8.2.50.0030.00618.10
8.2.40.0000.00819.03
8.2.30.0020.00519.19
8.2.20.0030.00618.13
8.2.10.0000.00719.48
8.2.00.0000.00919.36
8.1.270.0030.00621.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.47
8.1.230.0040.00720.75
8.1.220.0040.00418.77
8.1.210.0040.00418.89
8.1.200.0060.00317.23
8.1.190.0060.00317.11
8.1.180.0110.00018.10
8.1.170.0040.00418.82
8.1.160.0070.00018.82
8.1.150.0080.00018.82
8.1.140.0050.00319.40
8.1.130.0030.00319.02
8.1.120.0040.00417.45
8.1.110.0000.00717.41
8.1.100.0000.00717.43
8.1.90.0050.00317.33
8.1.80.0040.00417.39
8.1.70.0040.00417.28
8.1.60.0030.00917.56
8.1.50.0040.00417.31
8.1.40.0030.00617.48
8.1.30.0040.00417.45
8.1.20.0050.00217.57
8.1.10.0000.00817.40
8.1.00.0000.00817.28
8.0.300.0050.00319.87
8.0.290.0060.00316.63
8.0.280.0030.00318.38
8.0.270.0040.00417.25
8.0.260.0000.00717.10
8.0.250.0000.00716.85
8.0.240.0000.00716.77
8.0.230.0070.00016.89
8.0.220.0040.00416.68
8.0.210.0040.00416.72
8.0.200.0000.00716.87
8.0.190.0070.00016.82
8.0.180.0030.00516.81
8.0.170.0050.00316.79
8.0.160.0070.00016.81
8.0.150.0120.00016.74
8.0.140.0030.00416.80
8.0.130.0000.00613.21
8.0.120.0030.00516.64
8.0.110.0000.00816.81
8.0.100.0000.00816.63
8.0.90.0040.00416.71
8.0.80.0120.00716.85
8.0.70.0040.00416.64
8.0.60.0040.00416.69
8.0.50.0020.00516.82
8.0.30.0100.00917.11
8.0.20.0070.01117.40
8.0.10.0040.00416.93
8.0.00.0100.00716.82
7.4.330.0000.00415.55
7.4.320.0060.00016.50
7.4.300.0000.00616.43
7.4.290.0040.00416.57
7.4.280.0050.00216.44
7.4.270.0030.00316.33
7.4.260.0030.00316.50
7.4.250.0040.00416.47
7.4.240.0040.00416.54
7.4.230.0030.00316.59
7.4.220.0030.00516.53
7.4.210.0080.00916.57
7.4.200.0000.00716.48
7.4.160.0070.00816.33
7.4.140.0120.00717.86
7.4.130.0130.00416.31
7.4.120.0100.00916.41
7.4.110.0100.00616.46
7.4.100.0090.01216.61
7.4.90.0030.01416.48
7.4.80.0110.00619.39
7.4.70.0070.01016.46
7.4.60.0100.01016.54
7.4.50.0100.00716.35
7.4.40.0130.00316.35
7.4.10.0060.01314.59
7.4.00.0060.01115.03
7.3.330.0030.00313.03
7.3.320.0030.00313.04
7.3.310.0030.00316.20
7.3.300.0030.00316.14
7.3.290.0000.00716.09
7.3.280.0050.01316.14
7.3.260.0100.01116.40
7.3.240.0120.01016.28
7.3.230.0030.01316.32
7.3.210.0120.00616.34
7.3.200.0030.01716.22
7.3.190.0110.01116.15
7.3.180.0120.00316.20
7.3.170.0110.01116.40
7.3.160.0070.01416.41
7.3.130.0030.01414.75
7.3.120.0080.00914.80
7.3.110.0080.01014.74
7.3.100.0100.00414.61
7.3.90.0090.00714.66
7.3.80.0030.01114.77
7.3.70.0100.00214.68
7.3.60.0110.00314.62
7.3.50.0070.00814.61
7.3.40.0060.00914.71
7.3.30.0040.00914.57
7.3.20.0040.00916.44
7.3.10.0050.00916.46
7.3.00.0050.00716.49
7.2.330.0040.01416.73
7.2.320.0070.01416.57
7.2.310.0120.00916.63
7.2.300.0110.00716.23
7.2.290.0090.01116.32
7.2.260.0040.00814.93
7.2.250.0080.01114.89
7.2.240.0060.01115.00
7.2.230.0070.00814.97
7.2.220.0050.01014.89
7.2.210.0040.00814.80
7.2.200.0060.00814.68
7.2.190.0040.00914.89
7.2.180.0060.01014.77
7.2.170.0080.00514.89
7.2.160.0060.00315.05
7.2.150.0030.00616.89
7.2.140.0070.00316.68
7.2.130.0070.00716.56
7.2.120.0080.00816.57
7.2.110.0030.01316.86
7.2.100.0040.00816.57
7.2.90.0100.00316.77
7.2.80.0080.00316.74
7.2.70.0110.01015.80
7.2.60.0150.00615.69
7.2.50.0130.00815.75
7.2.40.0120.00915.93
7.2.30.0090.01415.90
7.2.20.0190.00615.86
7.2.10.0150.01015.81
7.2.00.0150.00815.74
7.1.330.0070.00715.58
7.1.320.0050.00715.59
7.1.310.0060.00515.63
7.1.300.0110.00515.65
7.1.290.0060.00515.64
7.1.280.0040.00915.59
7.1.270.0080.00415.57
7.1.260.0040.00915.70
7.1.250.0030.00915.71
7.1.240.0060.00615.71
7.1.230.0040.00715.54
7.1.220.0060.00615.74
7.1.210.0070.00715.35
7.1.200.0040.00815.62
7.1.190.0060.00915.43
7.1.180.0100.00015.72
7.1.170.0130.01014.69
7.1.160.0110.00614.70
7.1.150.0160.00714.70
7.1.140.0100.01114.71
7.1.130.0160.00714.59
7.1.120.0100.01314.66
7.1.110.0470.01414.66
7.1.100.0190.00614.63
7.1.90.0180.00614.78
7.1.80.0170.00614.62
7.1.70.0380.00614.61
7.1.60.0240.00723.69
7.1.50.0270.01123.73
7.1.40.0160.01623.79
7.1.30.0210.01223.79
7.1.20.0230.00523.63
7.1.10.0170.00814.64
7.1.00.0130.00714.47
7.0.330.0040.00414.93
7.0.320.0030.00615.15
7.0.310.0060.00315.34
7.0.300.0040.00415.38
7.0.290.0050.00515.29
7.0.280.0030.00915.11
7.0.270.0030.00715.13
7.0.260.0060.00315.27
7.0.250.0080.00415.10
7.0.240.0060.00615.32
7.0.230.0030.00615.43
7.0.220.0090.00315.36
7.0.210.0140.00015.15
7.0.200.0080.00815.00
7.0.190.0030.01415.43
7.0.180.0000.01015.36
7.0.170.0040.01115.38
7.0.160.0030.01215.21
7.0.150.0040.00815.43
7.0.140.0000.01215.48
7.0.130.0090.00315.16
7.0.120.0140.00015.43
7.0.110.0030.01015.21
7.0.100.0070.00715.16
7.0.90.0070.00715.34
7.0.80.0090.00015.36
7.0.70.0070.00715.39
7.0.60.0070.00715.34
7.0.50.0070.00715.21
7.0.40.0000.01213.20
7.0.30.0090.00313.36
7.0.20.0030.01013.37
7.0.10.0030.01313.25
7.0.00.0000.01413.14
5.6.400.0030.00614.38
5.6.390.0040.00414.01
5.6.380.0000.01014.41
5.6.370.0090.00614.40
5.6.360.0090.00313.82
5.6.350.0000.01114.19
5.6.340.0060.00914.40
5.6.330.0070.00714.25
5.6.320.0000.01114.15
5.6.310.0100.00314.15
5.6.300.0060.00614.13
5.6.290.0070.00313.95
5.6.280.0060.00813.96
5.6.270.0060.00314.07
5.6.260.0070.00714.04
5.6.250.0090.00614.18
5.6.240.0030.01214.20
5.6.230.0070.00314.21
5.6.220.0040.01114.20
5.6.210.0070.00713.96
5.6.200.0090.00313.89
5.6.190.0030.00914.09
5.6.180.0050.00514.12
5.6.170.0030.01014.04
5.6.160.0000.01114.03
5.6.150.0040.00814.23
5.6.140.0070.01014.52
5.6.130.0000.01214.20
5.6.120.0100.00314.36
5.6.110.0060.00614.45
5.6.100.0000.01414.14
5.6.90.0030.01014.12
5.6.80.0000.01513.93
5.6.70.0030.00713.85
5.6.60.0000.01014.02
5.6.50.0000.01314.29
5.6.40.0000.00914.14
5.6.30.0030.01014.23
5.6.20.0040.00414.13
5.6.10.0100.00013.97
5.6.00.0030.00714.05

preferences:
70.94 ms | 400 KiB | 5 Q