3v4l.org

run code in 300+ PHP versions simultaneously
<?php //interface I { // public function example($a, $b, $c); //} class A { public function example($a, $b = null, $c = null) { } } class B extends A { public function example($a, $b, $c = null) { } // not compatible with A::example }

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.0100.00718.57
8.3.30.0140.00018.34
8.3.20.0040.00421.66
8.3.10.0030.00621.60
8.3.00.0040.00419.13
8.2.170.0120.00622.96
8.2.160.0130.00020.52
8.2.150.0060.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00619.70
8.2.110.0000.00922.25
8.2.100.0060.00617.34
8.2.90.0000.00817.66
8.2.80.0000.00817.97
8.2.70.0080.00019.25
8.2.60.0000.00817.50
8.2.50.0060.00317.55
8.2.40.0000.00817.62
8.2.30.0000.00819.11
8.2.20.0040.00417.98
8.2.10.0050.00317.98
8.2.00.0040.00417.46
8.1.270.0080.00022.13
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00320.31
8.1.230.0060.00620.88
8.1.220.0000.00721.03
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0040.00417.13
8.1.180.0030.00618.10
8.1.170.0070.00018.87
8.1.160.0050.00318.75
8.1.150.0040.00420.26
8.1.140.0000.00719.40
8.1.130.0000.00618.95
8.1.120.0030.00317.23
8.1.110.0040.00417.31
8.1.100.0040.00417.23
8.1.90.0070.00017.25
8.1.80.0000.00717.34
8.1.70.0000.00717.29
8.1.60.0000.00817.45
8.1.50.0030.00517.34
8.1.40.0020.00517.44
8.1.30.0000.00817.48
8.1.20.0000.00717.53
8.1.10.0020.00517.25
8.1.00.0060.00317.28
8.0.300.0000.00719.77
8.0.290.0050.00316.63
8.0.280.0040.00418.21
8.0.270.0030.00317.11
8.0.260.0000.00617.03
8.0.250.0070.00016.93
8.0.240.0030.00316.71
8.0.230.0000.00716.95
8.0.220.0070.00016.82
8.0.210.0050.00216.86
8.0.200.0060.00316.86
8.0.190.0040.00416.92
8.0.180.0040.00416.85
8.0.170.0030.00616.85
8.0.160.0020.00516.88
8.0.150.0000.00716.80
8.0.140.0030.00316.84
8.0.130.0030.00313.18
8.0.120.0000.00716.83
8.0.110.0020.00516.62
8.0.100.0000.00716.64
8.0.90.0030.00316.64
8.0.80.0120.00316.87
8.0.70.0000.00716.88
8.0.60.0000.00716.79
8.0.50.0000.00716.72
8.0.30.0070.01116.88
8.0.20.0050.01417.40
8.0.10.0040.00416.92
8.0.00.0050.01216.57
7.4.330.0000.00615.55
7.4.320.0070.00016.48
7.4.300.0030.00316.47
7.4.290.0120.00016.38
7.4.280.0070.00016.46
7.4.270.0030.00316.42
7.4.260.0000.00716.40
7.4.250.0000.00716.40
7.4.240.0030.00716.29
7.4.230.0030.00316.44
7.4.220.0190.00616.49
7.4.210.0110.00816.46
7.4.200.0070.00016.22
7.4.160.0090.00716.42
7.4.150.0060.01217.40
7.4.140.0110.00817.86
7.4.130.0090.01016.42
7.4.120.0110.00816.30
7.4.110.0080.00816.41
7.4.100.0170.00616.46
7.4.90.0080.00816.41
7.4.80.0030.01419.39
7.4.70.0060.01016.37
7.4.60.0080.01216.30
7.4.50.0080.00616.56
7.4.40.0100.00716.55
7.4.30.0130.00316.29
7.4.10.0110.00715.04
7.4.00.0060.01114.72
7.3.330.0030.00313.23
7.3.320.0030.00313.23
7.3.310.0040.00416.21
7.3.300.0000.00616.27
7.3.290.0050.01216.21
7.3.280.0100.00716.18
7.3.270.0070.01017.40
7.3.260.0160.00516.39
7.3.250.0110.00616.39
7.3.240.0130.00816.41
7.3.230.0040.01216.24
7.3.210.0060.01216.14
7.3.200.0100.00616.18
7.3.190.0110.01216.31
7.3.180.0050.01016.34
7.3.170.0030.01316.23
7.3.160.0100.00616.28
7.3.130.0060.01314.78
7.3.120.0120.00414.46
7.3.110.0070.01014.79
7.3.100.0000.01414.66
7.3.90.0080.00414.96
7.3.80.0060.00314.62
7.3.70.0040.00714.76
7.3.60.0070.00714.81
7.3.50.0030.00614.50
7.3.40.0040.00414.47
7.3.30.0000.01614.65
7.3.20.0060.01216.45
7.3.10.0050.00616.56
7.3.00.0030.01016.41
7.2.330.0030.01416.51
7.2.320.0110.00616.39
7.2.310.0060.01616.29
7.2.300.0070.01316.25
7.2.290.0070.01016.32
7.2.260.0030.01214.63
7.2.250.0030.01314.82
7.2.240.0060.00915.03
7.2.230.0140.00414.45
7.2.220.0000.01614.76
7.2.210.0090.00014.81
7.2.200.0000.01014.91
7.2.190.0040.00814.69
7.2.180.0120.00314.68
7.2.170.0030.00614.83
7.2.160.0070.01314.73
7.2.150.0070.01316.58
7.2.140.0130.00316.42
7.2.130.0030.01016.55
7.2.120.0030.00916.78
7.2.110.0030.01316.52
7.2.100.0080.00816.79
7.2.90.0080.00816.72
7.2.80.0020.01216.85
7.2.70.0070.00716.63
7.2.60.0090.00516.52
7.2.50.0050.00916.67
7.2.40.0080.00416.41
7.2.30.0080.00816.69
7.2.20.0020.01016.81
7.2.10.0020.01116.75
7.2.00.0040.00917.54
7.1.330.0070.00715.46
7.1.320.0060.01315.71
7.1.310.0030.00715.60
7.1.300.0000.01515.65
7.1.290.0060.00615.59
7.1.280.0080.00815.65
7.1.270.0030.01315.75
7.1.260.0080.00815.73
7.1.250.0030.00915.73
7.1.240.0030.00915.79
7.1.230.0060.01215.42
7.1.220.0040.01115.33
7.1.210.0030.00715.56
7.1.200.0080.00615.49
7.1.190.0030.00915.52
7.1.180.0090.00015.42
7.1.170.0110.00415.54
7.1.160.0090.00015.58
7.1.150.0040.01215.46
7.1.140.0100.00315.68
7.1.130.0090.00315.52
7.1.120.0000.01215.61
7.1.110.0110.00415.69
7.1.100.0080.00815.77
7.1.90.0080.00315.45
7.1.80.0000.00815.71
7.1.70.0040.00616.16
7.1.60.0070.00716.29
7.1.50.0090.00316.00
7.1.40.0060.00315.75
7.1.30.0040.00415.55
7.1.20.0000.01415.40
7.1.10.0030.03518.81
7.1.00.0090.03218.75
7.0.330.0000.01415.04
7.0.320.0000.01715.23
7.0.310.0000.01115.24
7.0.300.0040.01215.05
7.0.290.0060.00615.24
7.0.280.0000.01415.43
7.0.270.0070.00715.41
7.0.260.0000.01215.42
7.0.250.0030.00615.32
7.0.240.0100.00015.28
7.0.230.0000.01415.25
7.0.220.0050.00315.36
7.0.210.0040.00715.31
7.0.200.0090.00915.90
7.0.190.0030.00715.11
7.0.180.0000.01415.25
7.0.170.0040.01115.21
7.0.160.0090.00615.38
7.0.150.0070.03018.60
7.0.140.0080.02818.44
7.0.130.0090.02618.58
7.0.120.0120.02518.49
7.0.110.0100.02718.46
7.0.100.0070.03318.47
7.0.90.0080.03018.45
7.0.80.0060.03018.54
7.0.70.0120.02518.50
7.0.60.0030.03518.56
7.0.50.0040.03118.66
7.0.40.0050.03117.62
7.0.30.0100.02717.59
7.0.20.0020.03517.59
7.0.10.0050.03017.63
7.0.00.0030.03517.59
5.6.400.0110.00314.36
5.6.390.0060.00313.92
5.6.380.0000.00914.42
5.6.370.0000.01314.20
5.6.360.0070.01014.27
5.6.350.0030.01014.21
5.6.340.0040.00813.99
5.6.330.0060.00314.18
5.6.320.0040.00814.09
5.6.310.0030.00914.06
5.6.300.0070.00713.92
5.6.290.0030.01013.95
5.6.280.0060.01014.26
5.6.270.0040.00714.07
5.6.260.0100.00314.07
5.6.250.0030.00614.24
5.6.240.0060.00914.32
5.6.230.0070.01014.11
5.6.220.0080.00413.96
5.6.210.0000.01213.99
5.6.200.0100.00314.00
5.6.190.0060.00314.31
5.6.180.0070.00414.06
5.6.170.0030.00714.18
5.6.160.0040.01113.99
5.6.150.0120.00314.20
5.6.140.0030.00914.25
5.6.130.0060.00314.02
5.6.120.0060.00614.07
5.6.110.0000.00914.20
5.6.100.0080.00614.19
5.6.90.0110.00314.00
5.6.80.0000.01514.14
5.6.70.0060.00614.04
5.6.60.0000.01214.18
5.6.50.0070.00714.00
5.6.40.0090.00613.99
5.6.30.0030.01013.90
5.6.20.0060.00613.97
5.6.10.0030.00914.06
5.6.00.0070.00714.02

preferences:
61.58 ms | 400 KiB | 5 Q