3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFace { function someMethod($arg1, $arg2); } class Face { function someMethod($arg1, $arg2, $arg3 = array(), $arg4 = array()) { } } class Facebook extends Face implements IFace { } (new Facebook())->someMethod('a', 'b');

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.70.0100.01416.50
8.3.60.0090.00918.30
8.3.50.0050.01221.97
8.3.40.0140.00718.59
8.3.30.0070.00718.96
8.3.20.0050.00320.34
8.3.10.0080.00020.35
8.3.00.0030.00719.25
8.2.180.0040.01116.50
8.2.170.0100.00722.96
8.2.160.0070.00720.26
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00822.05
8.2.110.0090.00022.21
8.2.100.0090.00317.72
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0050.00317.80
8.2.50.0050.00318.07
8.2.40.0030.00617.97
8.2.30.0000.00719.43
8.2.20.0040.00417.57
8.2.10.0080.00017.95
8.2.00.0040.00417.52
8.1.280.0120.00825.92
8.1.270.0000.00823.97
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0060.00318.53
8.1.230.0130.00018.86
8.1.220.0000.00917.79
8.1.210.0030.00618.77
8.1.200.0000.01217.13
8.1.190.0040.00417.10
8.1.180.0050.00319.19
8.1.170.0030.00618.59
8.1.160.0070.00022.07
8.1.150.0070.00018.86
8.1.140.0000.00717.30
8.1.130.0070.00017.72
8.1.120.0000.00717.32
8.1.110.0000.00717.40
8.1.100.0000.00717.21
8.1.90.0000.00817.44
8.1.80.0040.00317.42
8.1.70.0080.00017.34
8.1.60.0030.00617.43
8.1.50.0040.00417.36
8.1.40.0040.00417.45
8.1.30.0030.00517.53
8.1.20.0050.00317.58
8.1.10.0020.00517.36
8.1.00.0040.00417.30
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00818.45
8.0.270.0030.00317.25
8.0.260.0050.00317.25
8.0.250.0000.00616.96
8.0.240.0030.00316.91
8.0.230.0000.00716.90
8.0.220.0000.00716.82
8.0.210.0040.00416.82
8.0.200.0030.00316.77
8.0.190.0000.00716.78
8.0.180.0040.00416.85
8.0.170.0040.00416.93
8.0.160.0000.00816.88
8.0.150.0030.00316.80
8.0.140.0000.00816.77
8.0.130.0050.00013.24
8.0.120.0040.00416.80
8.0.110.0000.00716.87
8.0.100.0040.00416.65
8.0.90.0040.00416.84
8.0.80.0110.00416.76
8.0.70.0040.00416.69
8.0.60.0040.00416.77
8.0.50.0000.00716.66
8.0.30.0120.00716.97
8.0.20.0150.00517.40
8.0.10.0040.00416.93
8.0.00.0070.01016.49
7.4.330.0000.00515.02
7.4.320.0030.00316.54
7.4.300.0030.00316.54
7.4.290.0070.00016.62
7.4.280.0000.00816.44
7.4.270.0040.00416.59
7.4.260.0070.00016.56
7.4.250.0040.00416.50
7.4.240.0020.00516.45
7.4.230.0000.00716.61
7.4.220.0100.00716.30
7.4.210.0120.00316.48
7.4.200.0030.00316.54
7.4.160.0100.00616.50
7.4.150.0150.00617.40
7.4.140.0100.00817.86
7.4.130.0060.01016.51
7.4.120.0110.00516.56
7.4.110.0110.01116.34
7.4.100.0100.01016.65
7.4.90.0100.00716.50
7.4.80.0070.01416.71
7.4.70.0060.00916.38
7.4.60.0130.00616.35
7.4.50.0060.00016.38
7.4.40.0100.00716.36
7.4.30.0030.01316.37
7.4.00.0070.01014.82
7.3.330.0070.00013.29
7.3.320.0000.00513.32
7.3.310.0030.00316.40
7.3.300.0060.00016.21
7.3.290.0030.01316.37
7.3.280.0100.00616.29
7.3.270.0070.01017.40
7.3.260.0040.01416.30
7.3.250.0050.01216.31
7.3.240.0130.00316.56
7.3.230.0100.00716.39
7.3.210.0100.00716.23
7.3.200.0080.01619.39
7.3.190.0120.01016.60
7.3.180.0060.00916.28
7.3.170.0030.01916.27
7.3.160.0090.00616.23
7.3.120.0040.01514.61
7.3.110.0150.00014.91
7.3.100.0060.01015.01
7.3.90.0040.00714.80
7.3.80.0070.01014.86
7.3.70.0060.00614.79
7.3.60.0090.00614.67
7.3.50.0070.00714.97
7.3.40.0030.01214.47
7.3.30.0030.00914.82
7.3.20.0040.01116.53
7.3.10.0070.01016.39
7.3.00.0090.00916.31
7.2.330.0140.00316.61
7.2.320.0030.01316.56
7.2.310.0070.01016.64
7.2.300.0080.00816.61
7.2.290.0110.00616.56
7.2.250.0060.01314.86
7.2.240.0000.01915.20
7.2.230.0090.00614.70
7.2.220.0040.00815.02
7.2.210.0040.01114.47
7.2.200.0070.00714.97
7.2.190.0030.00715.00
7.2.180.0000.01414.75
7.2.170.0100.00314.59
7.2.60.0030.01016.73
7.2.00.0080.00419.26
7.1.330.0060.00615.41
7.1.320.0030.01015.82
7.1.310.0090.00615.56
7.1.300.0100.00315.25
7.1.290.0090.00615.61
7.1.280.0110.00015.77
7.1.270.0070.00715.72
7.1.260.0090.00315.55
7.1.200.0070.01115.54
7.1.100.0030.00617.87
7.1.70.0030.00717.18
7.1.60.0050.00519.32
7.1.50.0090.01216.80
7.1.00.0100.07022.36
7.0.200.0030.00616.63
7.0.140.0000.07321.95
7.0.60.0030.04019.95
7.0.50.0000.04717.86
7.0.40.0200.07320.17
7.0.30.0270.07320.33
7.0.20.0170.04720.09
7.0.10.0000.04720.26
7.0.00.0130.08020.34
5.6.280.0000.07721.12
5.6.210.0130.07720.76
5.6.200.0000.04318.16
5.6.190.0070.06020.49
5.6.180.0570.06020.64
5.6.170.0300.07320.39
5.6.160.0000.06020.46
5.6.150.0130.06318.15
5.6.140.0070.03718.25
5.6.130.0070.07018.26
5.6.120.0030.05320.94
5.6.110.0030.08020.94
5.6.100.0000.04720.99
5.6.90.0070.04321.00
5.6.80.0070.07720.40
5.5.350.0170.08320.53
5.5.340.0030.05717.95
5.5.330.0070.06720.25
5.5.320.0330.04020.42
5.5.310.0300.05720.50
5.5.300.0100.05317.94
5.5.290.0030.08317.96
5.5.280.0070.05720.77
5.5.270.0100.07720.86
5.5.260.0030.08320.72
5.5.250.0070.07020.78
5.5.240.0170.07020.19
5.4.450.0100.06019.48
5.4.440.0200.06319.31
5.4.430.0470.05019.33
5.4.420.0100.05719.33
5.4.410.0100.06019.42
5.4.400.0470.05018.84
5.4.390.0130.06019.22
5.4.380.0330.05718.74
5.4.370.0630.05318.56
5.4.360.0530.06318.59
5.4.350.0330.07018.63
5.4.340.0330.05018.54
5.4.320.0050.03712.50
5.4.310.0050.03812.50
5.4.300.0040.03712.50
5.4.290.0060.03812.49
5.4.280.0040.03612.40
5.4.270.0050.03812.40
5.4.260.0090.03512.40
5.4.250.0130.03112.40
5.4.240.0080.04012.39
5.4.230.0080.05012.38
5.4.220.0110.06112.38
5.4.210.0080.05012.38
5.4.200.0060.05112.39
5.4.190.0100.03912.38
5.4.180.0060.06312.39
5.4.170.0050.04912.40
5.4.160.0070.04412.39
5.4.150.0080.03412.39
5.4.140.0060.03612.07
5.4.130.0060.03712.06
5.4.120.0060.04212.02
5.4.110.0060.03512.01
5.4.100.0050.03512.01
5.4.90.0070.03512.01
5.4.80.0080.03512.02
5.4.70.0080.03312.00
5.4.60.0070.03312.01
5.4.50.0070.03412.01
5.4.40.0060.03412.00
5.4.30.0060.03612.00
5.4.20.0070.03511.99
5.4.10.0090.03112.00
5.4.00.0020.04011.48
5.3.290.0040.04112.80
5.3.280.0090.03512.71
5.3.270.0070.03712.73
5.3.260.0070.03812.72
5.3.250.0030.04012.72
5.3.240.0080.03512.71
5.3.230.0080.03912.71
5.3.220.0050.03812.68
5.3.210.0080.03712.68
5.3.200.0040.04812.68
5.3.190.0050.03912.68
5.3.180.0090.03412.67
5.3.170.0060.03712.67
5.3.160.0080.03412.67
5.3.150.0080.03512.67
5.3.140.0040.03712.66
5.3.130.0050.03912.66
5.3.120.0040.04012.65
5.3.110.0070.04412.66
5.3.100.0030.03912.13
5.3.90.0060.04112.11
5.3.80.0060.03512.10
5.3.70.0040.03712.10
5.3.60.0080.03312.09
5.3.50.0050.03612.03
5.3.40.0080.03512.03
5.3.30.0040.04111.99
5.3.20.0090.03311.77
5.3.10.0080.03311.73
5.3.00.0050.03611.72
5.2.170.0040.0319.23
5.2.160.0050.0289.23
5.2.150.0030.0329.23
5.2.140.0030.0319.22
5.2.130.0050.0289.18
5.2.120.0040.0309.19
5.2.110.0040.0299.19
5.2.100.0070.0269.19
5.2.90.0070.0279.18
5.2.80.0040.0329.18
5.2.70.0050.0299.18
5.2.60.0040.0319.14
5.2.50.0040.0309.11
5.2.40.0030.0309.08
5.2.30.0040.0309.06
5.2.20.0070.0279.05
5.2.10.0040.0288.95
5.2.00.0040.0298.81
5.1.60.0060.0228.10
5.1.50.0050.0248.09
5.1.40.0040.0268.07
5.1.30.0040.0298.42
5.1.20.0040.0258.45
5.1.10.0030.0278.18
5.1.00.0040.0308.18
5.0.50.0030.0216.65
5.0.40.0050.0186.51
5.0.30.0020.0326.32
5.0.20.0030.0196.29
5.0.10.0040.0196.27
5.0.00.0030.0316.26
4.4.90.0020.0154.77
4.4.80.0030.0144.75
4.4.70.0020.0154.76
4.4.60.0030.0144.76
4.4.50.0040.0144.77
4.4.40.0010.0274.71
4.4.30.0040.0144.76
4.4.20.0040.0184.85
4.4.10.0050.0154.85
4.4.00.0050.0234.76
4.3.110.0040.0154.67
4.3.100.0030.0164.66
4.3.90.0030.0144.64
4.3.80.0040.0234.59
4.3.70.0040.0134.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0020.0344.54
4.3.30.0030.0213.28
4.3.20.0010.0193.26
4.3.10.0000.0243.22
4.3.00.0030.0206.62

preferences:
41.09 ms | 401 KiB | 5 Q