3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * "The class implementing the interface must use the exact same method signatures * as are defined in the interface. Not doing so will result in a fatal error." */ interface IFoo { public function bar($one); } class Foo implements IFoo { public function bar($one, $two = 2) { } } $foo = new Foo();

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.0140.00718.18
8.3.50.0150.00521.97
8.3.40.0120.00418.65
8.3.30.0070.00718.92
8.3.20.0060.00320.16
8.3.10.0060.00320.41
8.3.00.0040.00419.26
8.2.180.0100.00516.50
8.2.170.0100.00722.96
8.2.160.0130.00020.18
8.2.150.0070.00724.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0140.00322.05
8.2.110.0090.00022.25
8.2.100.0080.00318.22
8.2.90.0030.00617.75
8.2.80.0090.00019.65
8.2.70.0050.00518.03
8.2.60.0020.00518.03
8.2.50.0060.00318.10
8.2.40.0070.00020.61
8.2.30.0080.00019.25
8.2.20.0040.00417.68
8.2.10.0000.00818.13
8.2.00.0040.00417.67
8.1.280.0140.00325.92
8.1.270.0060.00323.97
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00822.10
8.1.230.0080.00420.83
8.1.220.0000.00817.76
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0080.00017.00
8.1.180.0050.00318.10
8.1.170.0040.00418.50
8.1.160.0050.00222.08
8.1.150.0030.00318.83
8.1.140.0040.00417.41
8.1.130.0030.00517.78
8.1.120.0050.00317.51
8.1.110.0040.00417.43
8.1.100.0000.00717.36
8.1.90.0030.00517.35
8.1.80.0070.00017.36
8.1.70.0000.00717.40
8.1.60.0000.00817.41
8.1.50.0040.00417.51
8.1.40.0030.00917.39
8.1.30.0000.00917.54
8.1.20.0050.00217.63
8.1.10.0000.00817.52
8.1.00.0040.00417.46
8.0.300.0000.00719.71
8.0.290.0000.00816.62
8.0.280.0000.00718.45
8.0.270.0000.00817.21
8.0.260.0000.00717.16
8.0.250.0060.00316.93
8.0.240.0030.00316.85
8.0.230.0040.00416.87
8.0.220.0040.00416.78
8.0.210.0040.00416.80
8.0.200.0040.00416.97
8.0.190.0060.00316.86
8.0.180.0000.00716.89
8.0.170.0030.00516.88
8.0.160.0000.00716.98
8.0.150.0040.00416.77
8.0.140.0040.00316.88
8.0.130.0030.00313.28
8.0.120.0080.00016.77
8.0.110.0040.00416.78
8.0.100.0030.00316.95
8.0.90.0000.00716.95
8.0.80.0000.01516.95
8.0.70.0050.00316.85
8.0.60.0000.00716.91
8.0.50.0080.00016.74
8.0.30.0160.00317.02
8.0.20.0130.00817.40
8.0.10.0040.00416.97
8.0.00.0060.01216.76
7.4.330.0020.00215.14
7.4.320.0000.00716.64
7.4.300.0000.00616.61
7.4.290.0070.00016.50
7.4.280.0000.00716.58
7.4.270.0000.00716.41
7.4.260.0000.00716.64
7.4.250.0040.00416.42
7.4.240.0040.00316.57
7.4.230.0030.00316.70
7.4.220.0130.00316.45
7.4.210.0060.00916.54
7.4.200.0070.00016.61
7.4.160.0130.00316.38
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0080.00816.53
7.4.120.0090.01116.53
7.4.110.0060.01016.34
7.4.100.0220.00016.46
7.4.90.0130.00316.26
7.4.80.0060.01116.44
7.4.70.0100.00616.55
7.4.60.0030.01416.43
7.4.50.0040.00416.27
7.4.40.0040.01216.24
7.4.30.0060.00916.50
7.4.10.0060.01215.00
7.4.00.0050.01015.04
7.3.330.0000.00613.14
7.3.320.0050.00013.04
7.3.310.0000.00716.22
7.3.300.0030.00316.13
7.3.290.0040.01616.18
7.3.280.0070.00816.18
7.3.270.0090.01417.40
7.3.260.0110.01116.38
7.3.250.0180.00216.30
7.3.240.0090.01216.20
7.3.230.0040.01316.39
7.3.210.0130.00416.61
7.3.200.0110.00619.39
7.3.190.0120.00316.27
7.3.180.0060.01016.24
7.3.170.0120.01016.34
7.3.160.0130.00716.26
7.3.130.0090.00414.79
7.3.120.0110.00714.75
7.3.110.0070.01314.84
7.3.100.0060.00614.66
7.3.90.0070.01114.83
7.3.80.0060.00314.72
7.3.70.0030.01014.82
7.3.60.0150.00014.75
7.3.50.0030.00614.82
7.3.40.0060.00814.63
7.3.30.0100.00314.63
7.3.20.0030.01016.29
7.3.10.0040.01116.56
7.3.00.0030.01216.25
7.2.330.0170.00716.68
7.2.320.0090.00916.60
7.2.310.0100.00716.44
7.2.300.0090.01316.54
7.2.290.0140.00316.36
7.2.260.0040.01515.20
7.2.250.0070.01014.98
7.2.240.0110.00314.89
7.2.230.0110.00814.89
7.2.220.0060.00915.13
7.2.210.0050.00514.65
7.2.200.0000.01415.02
7.2.190.0030.01614.77
7.2.180.0120.00314.98
7.2.170.0030.00814.90
7.2.160.0030.01214.79
7.2.150.0060.00617.03
7.2.140.0120.00016.66
7.2.130.0060.00616.93
7.2.120.0060.01016.50
7.2.110.0070.00716.69
7.2.100.0070.00316.87
7.2.90.0030.01316.93
7.2.80.0170.00016.66
7.2.70.0000.01116.86
7.2.60.0050.00616.66
7.2.50.0110.00317.02
7.2.40.0000.01016.84
7.2.30.0060.00916.64
7.2.20.0000.01616.57
7.2.10.0000.01216.78
7.2.00.0070.00617.82
7.1.330.0030.01215.66
7.1.320.0110.00415.55
7.1.310.0100.00315.56
7.1.300.0070.01015.65
7.1.290.0070.00715.83
7.1.280.0080.00815.53
7.1.270.0080.00815.66
7.1.260.0030.00715.80
7.1.250.0000.01515.66
7.1.240.0080.00315.63
7.1.230.0000.01115.68
7.1.220.0070.00715.76
7.1.210.0030.00615.41
7.1.200.0100.00715.57
7.1.190.0080.00315.59
7.1.180.0040.00815.79
7.1.170.0070.00715.78
7.1.160.0060.00315.56
7.1.150.0040.01115.62
7.1.140.0030.00815.49
7.1.130.0100.00315.49
7.1.120.0100.00315.69
7.1.110.0090.00015.73
7.1.100.0070.00716.79
7.1.90.0080.00015.75
7.1.80.0100.00315.80
7.1.70.0040.00616.21
7.1.60.0080.01017.48
7.1.50.0110.00316.16
7.1.40.0000.00915.44
7.1.30.0100.00315.50
7.1.20.0030.01015.48
7.1.10.0030.01215.72
7.1.00.0000.04719.16
7.0.330.0100.00315.21
7.0.320.0040.00715.11
7.0.310.0070.00715.09
7.0.300.0030.01015.16
7.0.290.0030.00715.02
7.0.280.0080.00615.22
7.0.270.0030.00615.40
7.0.260.0030.00915.25
7.0.250.0090.00415.21
7.0.240.0040.00715.14
7.0.230.0100.00615.42
7.0.220.0090.00615.18
7.0.210.0070.00315.28
7.0.200.0040.00615.82
7.0.190.0030.00715.54
7.0.180.0000.01615.17
7.0.170.0070.00315.41
7.0.160.0050.00315.32
7.0.150.0030.00715.32
7.0.140.0000.04218.80
7.0.130.0040.01115.07
7.0.120.0070.00715.38
7.0.110.0000.01015.22
7.0.100.0040.00815.33
7.0.90.0060.00915.45
7.0.80.0070.00315.23
7.0.70.0070.00415.39
7.0.60.0100.04217.55
7.0.50.0020.02816.62
7.0.40.0050.05016.71
7.0.30.0160.03016.74
7.0.20.0180.03216.74
7.0.10.0030.04816.72
7.0.00.0070.02316.77
5.6.400.0110.00014.44
5.6.390.0060.00914.24
5.6.380.0070.00714.37
5.6.370.0060.00314.29
5.6.360.0060.00914.19
5.6.350.0080.00614.30
5.6.340.0060.00614.55
5.6.330.0070.00414.27
5.6.320.0030.01414.33
5.6.310.0090.00614.65
5.6.300.0070.00714.36
5.6.290.0040.01114.28
5.6.280.0030.04417.60
5.6.270.0100.00314.30
5.6.260.0030.00614.29
5.6.250.0080.00414.19
5.6.240.0040.00814.22
5.6.230.0060.00914.22
5.6.220.0060.00614.27
5.6.210.0030.03017.55
5.6.200.0030.02716.18
5.6.190.0020.02917.58
5.6.180.1780.02317.32
5.6.170.0190.03317.50
5.6.160.0100.04217.36
5.6.150.0080.02716.15
5.6.140.0070.04416.26
5.6.130.0070.04316.14
5.6.120.0070.04517.63
5.6.110.0050.04817.76
5.6.100.0030.02317.70
5.6.90.0070.04717.68
5.6.80.0050.02217.35
5.6.70.0030.01014.27
5.6.60.0040.00813.93
5.6.50.0030.00814.23
5.6.40.0090.00614.37
5.6.30.0140.00014.23
5.6.20.0030.01014.40
5.6.10.0030.01014.34
5.6.00.0060.00914.25
5.5.380.0110.00414.36
5.5.370.0080.00414.13
5.5.360.0000.01013.88
5.5.350.0120.05217.27
5.5.340.0020.04516.22
5.5.330.0120.02317.37
5.5.320.0180.02317.24
5.5.310.0140.03117.39
5.5.300.0080.02116.08
5.5.290.0020.04816.13
5.5.280.0100.04117.42
5.5.270.0030.02717.55
5.5.260.0080.04617.37
5.5.250.0050.02317.34
5.5.240.0080.04117.28
5.5.230.0000.01414.03
5.5.220.0000.01414.16
5.5.210.0060.00313.90
5.5.200.0000.01413.94
5.5.190.0040.00713.92
5.5.180.0060.00613.92
5.5.170.0090.00314.00
5.5.160.0060.00314.19
5.5.150.0000.01413.93
5.5.140.0070.00714.08
5.5.130.0040.00714.29
5.5.120.0000.01414.06
5.5.110.0000.01313.99
5.5.100.0030.00613.91
5.5.90.0000.01113.93
5.5.80.0110.00414.03
5.5.70.0060.00613.98
5.5.60.0070.01013.86
5.5.50.0000.01214.29
5.5.40.0080.00614.12
5.5.30.0060.00914.34
5.5.20.0090.00613.86
5.5.10.0080.00613.63
5.5.00.0030.00914.22
5.4.450.0220.02215.36
5.4.440.0200.02915.13
5.4.430.0320.03315.27
5.4.420.0190.02515.21
5.4.410.0210.02615.34
5.4.400.0270.02815.02
5.4.390.0290.03515.19
5.4.380.0230.02214.79
5.4.370.0260.01715.03
5.4.360.0200.02414.98
5.4.350.0300.03314.86
5.4.340.0270.03514.95
5.4.330.0070.00310.64
5.4.320.0270.02715.00
5.4.310.0230.02814.79
5.4.300.0250.04015.12
5.4.290.0250.02614.84
5.4.280.0230.02515.02
5.4.270.0210.02714.92
5.4.260.0270.03514.99
5.4.250.0340.03214.97
5.4.240.0280.03014.87
5.4.230.0280.03814.97
5.4.220.0180.02315.03
5.4.210.0270.02514.83
5.4.200.0250.03815.04
5.4.190.0180.02514.80
5.4.180.0250.03314.96
5.4.170.0280.03514.97
5.4.160.0300.02315.06
5.4.150.0330.03015.08
5.4.140.0270.03213.76
5.4.130.0250.02913.54
5.4.120.0200.02713.64
5.4.110.0310.02813.65
5.4.100.0280.03513.63
5.4.90.0210.03113.68
5.4.80.0320.02813.65
5.4.70.0260.03613.55
5.4.60.0300.03313.75
5.4.50.0270.02713.39
5.4.40.0320.03213.55
5.4.30.0280.03713.72
5.4.20.0270.03613.71
5.4.10.0310.03113.82
5.4.00.0270.03013.35
5.3.290.0470.04715.22
5.3.280.0570.06015.22
5.3.270.0500.04715.22
5.3.260.0430.05315.22
5.3.250.0470.06015.22
5.3.240.0500.03715.22
5.3.230.0430.06315.22
5.3.220.0370.05315.22
5.3.210.0430.05315.22
5.3.200.0370.04015.22
5.3.190.0500.05015.22
5.3.180.0430.04315.22
5.3.170.0400.03715.22
5.3.160.0400.03715.22
5.3.150.0500.06315.22
5.3.140.0530.06315.22
5.3.130.0470.05715.22
5.3.120.0530.06315.22
5.3.110.0570.06015.22
5.3.100.0430.03315.22
5.3.90.0470.04015.22
5.3.80.0430.06015.22
5.3.70.0500.04015.22
5.3.60.0330.05715.22
5.3.50.0470.04715.22
5.3.40.0600.04715.22
5.3.30.0430.06015.22
5.3.20.0400.04715.22
5.3.10.0430.04015.22
5.3.00.0630.05015.22
5.2.170.0430.04315.22
5.2.160.0500.04315.22
5.2.150.0400.05015.22
5.2.140.0400.03015.22
5.2.130.0330.03715.22
5.2.120.0430.03015.22
5.2.110.0500.04015.22
5.2.100.0400.05315.22
5.2.90.0370.02715.22
5.2.80.0370.04715.22
5.2.70.0470.02715.22
5.2.60.0430.03015.22
5.2.50.0500.04015.22
5.2.40.0400.02715.22
5.2.30.0470.03715.22
5.2.20.0370.05015.22
5.2.10.0300.03015.22
5.2.00.0270.03015.22
5.1.60.0400.04015.22
5.1.50.0330.03315.22
5.1.40.0300.03315.22
5.1.30.0300.02315.22
5.1.20.0270.03315.22
5.1.10.0300.03015.22
5.1.00.0330.02315.22
5.0.50.0200.03315.22
5.0.40.0170.02015.22
5.0.30.0170.03315.22
5.0.20.0230.03315.22
5.0.10.0200.04015.22
5.0.00.0170.05015.22
4.4.90.0170.01715.22
4.4.80.0170.03715.22
4.4.70.0200.03015.22
4.4.60.0130.03315.22
4.4.50.0130.02715.22
4.4.40.0170.04315.22
4.4.30.0130.02715.22
4.4.20.0130.03015.22
4.4.10.0230.03015.22
4.4.00.0130.03315.22
4.3.110.0100.02015.22
4.3.100.0170.01315.22
4.3.90.0170.02715.22
4.3.80.0170.04315.22
4.3.70.0170.02715.22
4.3.60.0200.03015.22
4.3.50.0200.03015.22
4.3.40.0200.05715.22
4.3.30.0130.02015.22
4.3.20.0100.03715.22
4.3.10.0170.02715.22
4.3.00.0130.03315.22

preferences:
69.09 ms | 401 KiB | 5 Q