3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { static function foo($x); } class C implements A { function foo($x) {} }

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.0150.00016.63
8.3.50.0120.00522.04
8.3.40.0110.01118.71
8.3.30.0070.00718.84
8.3.20.0000.00720.25
8.3.10.0050.00323.48
8.3.00.0040.00419.13
8.2.180.0090.01216.50
8.2.170.0110.01122.96
8.2.160.0080.00820.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.26
8.2.110.0060.00320.43
8.2.100.0090.00317.84
8.2.90.0030.00619.11
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0060.00317.80
8.2.50.0030.00618.07
8.2.40.0040.00419.95
8.2.30.0070.00019.72
8.2.20.0050.00317.49
8.2.10.0030.00519.66
8.2.00.0040.00417.61
8.1.280.0110.00625.92
8.1.270.0060.00323.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.67
8.1.230.0040.00717.42
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0070.00317.25
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00618.52
8.1.160.0090.00022.05
8.1.150.0040.00418.62
8.1.140.0000.00717.39
8.1.130.0000.00817.70
8.1.120.0070.00017.39
8.1.110.0030.00317.46
8.1.100.0080.00017.39
8.1.90.0040.00417.46
8.1.80.0000.00717.46
8.1.70.0070.00017.34
8.1.60.0000.00817.50
8.1.50.0040.00417.43
8.1.40.0050.00217.46
8.1.30.0000.00817.54
8.1.20.0040.00417.61
8.1.10.0040.00417.24
8.1.00.0000.00817.33
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.30
8.0.270.0040.00417.11
8.0.260.0030.00317.11
8.0.250.0000.00716.94
8.0.240.0040.00416.90
8.0.230.0070.00016.81
8.0.220.0030.00316.98
8.0.210.0040.00416.87
8.0.200.0050.00316.99
8.0.190.0040.00416.82
8.0.180.0000.00716.79
8.0.170.0080.00016.93
8.0.160.0000.00716.91
8.0.150.0040.00416.72
8.0.140.0040.00416.73
8.0.130.0030.00313.29
8.0.120.0080.00016.86
8.0.110.0000.00716.82
8.0.100.0000.00716.84
8.0.90.0040.00416.84
8.0.80.0130.00316.88
8.0.70.0040.00416.77
8.0.60.0000.00816.77
8.0.50.0040.00416.80
8.0.30.0090.01017.16
8.0.20.0090.00817.40
8.0.10.0050.00316.85
8.0.00.0070.01016.67
7.4.330.0020.00215.00
7.4.320.0030.00316.45
7.4.300.0000.00716.46
7.4.290.0000.00716.54
7.4.280.0080.00016.35
7.4.270.0030.00316.54
7.4.260.0030.00316.52
7.4.250.0000.00716.41
7.4.240.0050.00216.53
7.4.230.0030.00316.27
7.4.220.0040.01416.63
7.4.210.0070.00916.50
7.4.200.0070.00016.53
7.4.190.0000.00716.53
7.4.160.0070.01016.63
7.4.150.0130.00617.40
7.4.140.0100.01017.86
7.4.130.0180.00016.53
7.4.120.0110.00716.48
7.4.110.0060.01116.52
7.4.100.0130.00616.34
7.4.90.0110.00516.48
7.4.80.0030.01319.39
7.4.70.0130.00316.55
7.4.60.0130.00316.58
7.4.50.0030.00616.40
7.4.40.0030.01622.77
7.4.30.0040.01116.57
7.4.00.0080.00814.92
7.3.330.0030.00313.05
7.3.320.0000.00613.08
7.3.310.0040.00416.25
7.3.300.0000.00716.24
7.3.290.0090.00916.25
7.3.280.0150.00316.20
7.3.270.0030.01617.40
7.3.260.0190.01516.38
7.3.250.0110.00616.24
7.3.240.0130.00316.27
7.3.230.0070.01016.40
7.3.210.0110.00616.18
7.3.200.0090.00919.39
7.3.190.0110.00616.36
7.3.180.0120.00316.45
7.3.170.0060.01216.28
7.3.160.0090.01216.34
7.3.120.0030.01414.90
7.3.110.0090.00914.68
7.3.100.0070.01015.00
7.3.90.0090.00014.48
7.3.80.0040.01014.68
7.3.70.0080.00314.59
7.3.60.0120.00314.75
7.3.50.0140.00314.60
7.3.40.0030.01214.84
7.3.30.0130.00014.83
7.3.20.0070.00716.40
7.3.10.0110.00416.79
7.3.00.0060.00816.57
7.2.330.0130.00416.42
7.2.320.0100.00616.44
7.2.310.0060.01216.29
7.2.300.0070.01016.62
7.2.290.0070.01016.28
7.2.250.0070.01314.46
7.2.240.0030.01614.89
7.2.230.0060.01015.01
7.2.220.0050.00515.06
7.2.210.0030.00714.73
7.2.200.0030.00715.02
7.2.190.0030.01315.02
7.2.180.0040.00414.79
7.2.170.0040.00915.02
7.2.60.0040.01216.95
7.2.00.0030.01019.48
7.1.330.0030.01215.48
7.1.320.0120.00315.89
7.1.310.0070.00415.27
7.1.300.0060.00615.79
7.1.290.0090.00315.62
7.1.280.0000.01415.23
7.1.270.0040.01115.80
7.1.260.0030.00915.66
7.1.100.0000.01018.20
7.1.70.0000.00717.19
7.1.60.0170.00719.46
7.1.50.0070.01416.82
7.1.00.0030.07722.57
7.0.200.0050.00216.51
7.0.140.0000.07722.00
7.0.60.0130.08019.86
7.0.50.0070.07317.86
7.0.40.0100.05720.29
7.0.30.0230.05320.24
7.0.20.0230.04020.09
7.0.10.0030.06320.12
7.0.00.0100.08720.05
5.6.280.0100.06720.92
5.6.210.0100.05720.73
5.6.200.0070.05718.19
5.6.190.0100.04020.55
5.6.180.0170.05720.39
5.6.170.0400.07020.54
5.6.160.0100.05020.55
5.6.150.0100.07718.15
5.6.140.0030.04318.14
5.6.130.0030.04318.21
5.6.120.0100.03721.10
5.6.110.0030.07021.03
5.6.100.0030.08320.98
5.6.90.0130.09321.13
5.6.80.0030.04020.42
5.6.70.0370.03720.50
5.5.350.0200.08720.34
5.5.340.0030.04718.03
5.5.330.0100.03720.40
5.5.320.0270.04720.19
5.5.310.0170.08320.34
5.5.300.0030.07717.96
5.5.290.0100.06317.93
5.5.280.0030.08720.94
5.5.270.0030.08020.74
5.5.260.0170.07320.97
5.5.250.0100.05720.48
5.5.240.0200.08320.07
5.4.450.0270.08019.49
5.4.440.0230.05719.41
5.4.430.0300.05319.45
5.4.420.0300.05719.51
5.4.410.0330.06319.41
5.4.400.0330.05718.95
5.4.390.0230.04018.87
5.4.380.0200.05018.94
5.4.370.0470.05319.09
5.4.360.0300.04718.98
5.4.350.0270.05019.31
5.4.340.0300.07318.99
5.4.320.0270.07719.22
5.4.310.0230.07319.24
5.4.300.0270.07319.08
5.4.290.0370.06318.96
5.4.280.0230.04318.99
5.4.270.0330.06319.13
5.4.260.0370.04719.00
5.4.250.0270.04318.99
5.4.240.0330.06318.87
5.4.230.0400.05019.07
5.4.220.0170.08019.05
5.4.210.0270.06719.11
5.4.200.0400.06018.98
5.4.190.0200.07719.30
5.4.180.0370.06719.23
5.4.170.0200.06719.13
5.4.160.0300.05019.04
5.4.150.0300.07319.07
5.4.140.0300.03316.72
5.4.130.0330.04016.41
5.4.120.0370.06016.28
5.4.110.0300.07016.40
5.4.100.0230.07016.46
5.4.90.0270.05016.45
5.4.80.0300.06716.52
5.4.70.0230.06316.34
5.4.60.0330.06316.34
5.4.50.0200.06016.37
5.4.40.0270.06016.16
5.4.30.0230.05716.23
5.4.20.0270.04316.43
5.4.10.0330.05716.16
5.4.00.0270.04015.79
5.3.290.0230.07714.89
5.3.280.0400.06314.82
5.3.270.0270.04714.58
5.3.260.0130.05014.66
5.3.250.0330.06714.72
5.3.240.0270.04314.69
5.3.230.0230.04014.76
5.3.220.0400.05014.56
5.3.210.0270.07714.79
5.3.200.0230.05714.50
5.3.190.0330.07014.54
5.3.180.0170.07314.66
5.3.170.0330.06714.54
5.3.160.0430.07014.46
5.3.150.0400.06314.58
5.3.140.0370.06714.67
5.3.130.0400.06714.56
5.3.120.0330.05314.45
5.3.110.0470.05014.47
5.3.100.0270.04013.95
5.3.90.0230.04014.04
5.3.80.0230.03713.94
5.3.70.0170.04013.93
5.3.60.0230.04014.12
5.3.50.0300.02713.95
5.3.40.0230.03313.86
5.3.30.0200.03313.93
5.3.20.0130.03713.81
5.3.10.0270.02713.58
5.3.00.0130.03713.57
5.2.170.0200.03012.03
5.2.160.0170.03012.03
5.2.150.0100.03312.03
5.2.140.0130.03012.03
5.2.130.0100.03312.03
5.2.120.0100.03712.03
5.2.110.0200.02712.03
5.2.100.0130.03012.03
5.2.90.0200.02312.03
5.2.80.0170.03012.03
5.2.70.0130.03012.03
5.2.60.0170.03712.03
5.2.50.0170.02712.03
5.2.40.0130.02712.03
5.2.30.0100.03012.03
5.2.20.0170.02712.03
5.2.10.0170.02312.03
5.2.00.0130.02712.03
5.1.60.0130.02012.03
5.1.50.0070.02712.03
5.1.40.0100.02712.03
5.1.30.0100.03312.03
5.1.20.0130.02312.03
5.1.10.0130.02312.03
5.1.00.0100.02712.03
5.0.50.0070.02012.03
5.0.40.0030.02312.03
5.0.30.0030.03012.03
5.0.20.0100.01712.03
5.0.10.0070.02012.03
5.0.00.0070.03012.03
4.4.90.0030.01712.03
4.4.80.0030.01712.03
4.4.70.0070.01312.03
4.4.60.0100.01012.03
4.4.50.0030.01712.03
4.4.40.0030.02712.03
4.4.30.0070.01312.03
4.4.20.0130.01012.03
4.4.10.0070.01712.03
4.4.00.0100.02312.03
4.3.110.0030.02012.03
4.3.100.0030.01712.03
4.3.90.0070.01312.03
4.3.80.0130.02012.03
4.3.70.0030.01712.03
4.3.60.0030.01712.03
4.3.50.0030.01712.03
4.3.40.0070.02312.03
4.3.30.0030.03312.03
4.3.20.0070.01712.03
4.3.10.0070.03312.03
4.3.00.0030.02012.03

preferences:
43.86 ms | 401 KiB | 5 Q