3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Geocoder {} interface GeocoderThatSupportsBounds {} class Base implements Geocoder{ public function speak() { return 'Foo'; } } class Google extends Base implements GeocoderThatSupportsBounds { public function speak() { return 'Bar'; } } // Third party library that expects a geocoder function normalGeocode(Geocoder $foo) { echo $foo->speak(); } // Special geocoder function geocodeWithBounds(GeocoderThatSupportsBounds $foo) { echo $foo->speak(); } $bar = new Google; normalGeocode($bar); geocodeWithBounds($bar);

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.4.120.0080.00419.55
8.4.110.0060.00418.22
8.4.100.0090.01117.43
8.4.90.0090.01020.29
8.4.80.0140.00518.82
8.4.70.0110.00820.50
8.4.60.0140.00920.24
8.4.50.0140.00620.34
8.4.40.0100.01017.42
8.4.30.0170.00317.39
8.4.20.0120.00620.75
8.4.10.0080.00819.51
8.3.250.0100.00916.48
8.3.240.0140.00516.64
8.3.230.0060.00218.30
8.3.220.0100.00919.06
8.3.210.0110.00716.66
8.3.200.0040.00516.60
8.3.190.0110.00717.26
8.3.180.0110.00719.05
8.3.170.0110.00718.76
8.3.160.0130.00620.62
8.3.150.0080.00016.34
8.3.140.0080.00016.69
8.3.130.0040.00418.54
8.3.120.0000.01020.60
8.3.110.0090.00020.94
8.3.100.0040.01216.74
8.3.90.0040.01218.30
8.3.80.0030.00617.97
8.3.70.0120.00916.63
8.3.60.0060.01218.43
8.3.50.0230.01321.14
8.3.40.0060.01318.48
8.3.30.0140.00418.67
8.3.20.0000.00818.91
8.3.10.0040.00421.85
8.3.00.0030.00520.89
8.2.290.0040.00416.57
8.2.280.0110.00718.53
8.2.270.0060.00918.50
8.2.260.0150.00317.17
8.2.250.0090.00018.66
8.2.240.0110.00416.91
8.2.230.0080.00322.58
8.2.220.0030.00624.06
8.2.210.0050.00326.77
8.2.200.0060.00318.55
8.2.190.0110.00416.63
8.2.180.0070.01318.54
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00821.09
8.2.120.0050.00226.35
8.2.110.0090.00021.96
8.2.100.0060.00617.72
8.2.90.0060.00317.75
8.2.80.0000.00819.00
8.2.70.0030.00618.04
8.2.60.0000.00818.16
8.2.50.0030.00618.10
8.2.40.0050.00220.59
8.2.30.0000.00719.18
8.2.20.0000.00718.04
8.2.10.0050.00218.03
8.2.00.0040.00417.57
8.1.330.0090.01016.04
8.1.320.0190.01016.00
8.1.310.0070.00718.48
8.1.300.0130.00316.33
8.1.290.0060.00318.88
8.1.280.0140.00425.92
8.1.270.0000.00823.96
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0100.00020.79
8.1.230.0110.00019.04
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.01017.23
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0040.00418.39
8.1.160.0040.00418.88
8.1.150.0040.00420.30
8.1.140.0040.00419.50
8.1.130.0000.00717.81
8.1.120.0030.00317.28
8.1.110.0000.00717.41
8.1.100.0030.00517.45
8.1.90.0050.00317.45
8.1.80.0040.00417.41
8.1.70.0070.00017.37
8.1.60.0060.00317.47
8.1.50.0080.00017.43
8.1.40.0040.00417.44
8.1.30.0030.00617.68
8.1.20.0040.00417.68
8.1.10.0080.00017.53
8.1.00.0070.00017.36
8.0.300.0070.00021.70
8.0.290.0040.00416.88
8.0.280.0070.00018.38
8.0.270.0030.00317.25
8.0.260.0030.00317.27
8.0.250.0070.00016.91
8.0.240.0000.00716.90
8.0.230.0040.00417.03
8.0.220.0040.00416.94
8.0.210.0000.00716.81
8.0.200.0000.00617.04
8.0.190.0000.00716.94
8.0.180.0050.00516.97
8.0.170.0030.00616.94
8.0.160.0000.00716.96
8.0.150.0040.00416.93
8.0.140.0000.01216.87
8.0.130.0030.00313.40
8.0.120.0050.00316.93
8.0.110.0070.00016.95
8.0.100.0070.00016.95
8.0.90.0060.00316.98
8.0.80.0070.00717.00
8.0.70.0040.00416.93
8.0.60.0000.00716.82
8.0.50.0040.00416.88
8.0.30.0110.00717.17
8.0.20.0120.00817.40
8.0.10.0040.00416.88
8.0.00.0090.00916.80
7.4.330.0050.00015.55
7.4.320.0000.00616.54
7.4.300.0000.00716.59
7.4.290.0070.00016.63
7.4.280.0030.00516.59
7.4.270.0000.00716.59
7.4.260.0050.00216.63
7.4.250.0070.00016.60
7.4.240.0030.00316.49
7.4.230.0070.00016.68
7.4.220.0110.00716.67
7.4.210.0100.01016.55
7.4.200.0030.00316.49
7.4.160.0090.00716.54
7.4.150.0080.01417.40
7.4.140.0100.00717.86
7.4.130.0070.01316.57
7.4.120.0140.00916.48
7.4.110.0140.00416.57
7.4.100.0110.00616.49
7.4.90.0100.00616.46
7.4.80.0060.01619.39
7.4.70.0100.00716.62
7.4.60.0060.01116.39
7.4.50.0060.01016.34
7.4.40.0090.00916.33
7.4.30.0090.00616.36
7.4.00.0070.00714.82
7.3.330.0000.00513.33
7.3.320.0020.00213.23
7.3.310.0050.00316.29
7.3.300.0000.00716.13
7.3.290.0050.01116.32
7.3.280.0070.01016.28
7.3.270.0090.00917.40
7.3.260.0060.01316.46
7.3.250.0090.00716.35
7.3.240.0120.00516.48
7.3.230.0100.00716.39
7.3.210.0130.00316.29
7.3.200.0060.01116.48
7.3.190.0030.01316.42
7.3.180.0120.00316.61
7.3.170.0140.00516.63
7.3.160.0120.00616.67
7.3.120.0070.01115.09
7.3.110.0080.00014.84
7.3.100.0030.01214.94
7.3.90.0000.00914.75
7.3.80.0070.00714.86
7.3.70.0080.00814.80
7.3.60.0040.01114.98
7.3.50.0070.01014.75
7.3.40.0160.00014.95
7.3.30.0030.01414.95
7.3.20.0070.00716.55
7.3.10.0040.01416.66
7.3.00.0060.01216.58
7.2.330.0070.01016.73
7.2.320.0090.00916.52
7.2.310.0060.00916.45
7.2.300.0060.01616.60
7.2.290.0130.00316.55
7.2.240.0070.00714.84
7.2.230.0000.01615.22
7.2.220.0030.01514.88
7.2.210.0140.00415.12
7.2.200.0060.01014.97
7.2.190.0110.00715.02
7.2.180.0100.00615.04
7.2.170.0080.00815.05
7.2.160.0030.01314.79
7.2.150.0100.00716.71
7.2.140.0070.01116.69
7.2.130.0100.00716.86
7.2.120.0070.01016.94
7.2.110.0040.00717.03
7.2.100.0100.00616.76
7.2.90.0150.00016.96
7.2.80.0060.00916.94
7.2.70.0030.01216.96
7.2.60.0070.01116.95
7.2.50.0040.00816.81
7.2.40.0070.01116.72
7.2.30.0030.01316.98
7.2.20.0000.01117.06
7.2.10.0070.01017.00
7.2.00.0070.00716.74
7.1.330.0040.00815.72
7.1.320.0000.01415.89
7.1.310.0030.00915.45
7.1.300.0030.01015.80
7.1.290.0060.00315.65
7.1.280.0030.00715.63
7.1.270.0000.01015.90
7.1.260.0000.01315.72
7.1.250.0060.01215.47
7.1.70.0030.00617.14
7.1.60.0030.00717.20
7.1.00.0500.07020.48
7.0.200.0090.00316.61
7.0.130.0700.07320.17
7.0.120.0700.05320.18
7.0.110.0570.09320.21
7.0.100.0400.07320.34
7.0.90.0200.05021.99
7.0.80.0000.08022.16
7.0.70.0030.09022.18
7.0.60.0130.06721.97
7.0.50.0100.06721.98
7.0.40.0100.06022.20
7.0.30.0070.07022.16
7.0.20.0200.05322.03
7.0.10.0100.06321.98
7.0.00.0270.07322.05
5.6.280.0100.10020.79
5.6.270.0100.06020.95
5.6.260.0100.05721.13
5.6.250.0130.05320.96
5.6.240.0130.08320.97
5.6.230.0100.07020.88
5.6.220.0030.09021.04
5.6.210.0100.06021.01
5.6.200.0070.07720.98
5.6.190.0230.06020.93
5.6.180.0030.07320.89
5.6.170.0200.07020.86
5.6.160.0100.08721.05
5.6.150.0200.08021.00
5.6.140.0100.06720.89
5.6.130.0130.06021.07
5.6.120.0200.05320.93
5.6.110.0270.07321.05
5.6.100.0200.08021.02
5.6.90.0200.07321.07
5.6.80.0130.07720.23
5.6.70.0170.05320.20
5.6.60.0130.06020.44
5.6.50.0100.05720.41
5.6.40.0100.06020.36
5.6.30.0130.06720.14
5.6.20.0100.07720.11
5.6.10.0130.06320.18
5.6.00.0200.07020.42

preferences:
127.74 ms | 403 KiB | 5 Q