3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FormatAwareInterface {} class SalesOrderItem implements FormatAwareInterface {} class SalesOrder implements FormatAwareInterface {} interface FormatterInterface { public function format(FormatAwareInterface $entity); } abstract class Formatter { public function format(FormatAwareInterface $entity) { } } class SalesOrderItemFormatter implements FormatterInterface { public function format(SalesOrderItem $entity) {} } class SalesOrderFormatter implements FormatterInterface { public function format(SalesOrder $entity) {} }

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.0110.00718.68
8.3.50.0100.01021.90
8.3.40.0040.01118.56
8.3.30.0030.01018.97
8.3.20.0040.00420.38
8.3.10.0070.00023.26
8.3.00.0080.00417.50
8.2.180.0110.00416.38
8.2.170.0040.01122.96
8.2.160.0060.00920.53
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0090.00026.16
8.2.120.0070.00022.27
8.2.110.0030.00720.21
8.2.100.0110.00017.91
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0060.00317.25
8.2.60.0050.00317.91
8.2.50.0030.00618.07
8.2.40.0040.00419.88
8.2.30.0040.00417.87
8.2.20.0040.00417.68
8.2.10.0000.00717.98
8.2.00.0090.00317.59
8.1.280.0070.00725.92
8.1.270.0090.00024.02
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00623.74
8.1.230.0030.00719.21
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0000.00817.10
8.1.190.0060.00317.23
8.1.180.0070.00018.10
8.1.170.0030.00618.59
8.1.160.0000.00721.91
8.1.150.0050.00318.72
8.1.140.0000.00717.33
8.1.130.0000.00717.67
8.1.120.0040.00417.45
8.1.110.0000.00717.30
8.1.100.0000.00817.39
8.1.90.0000.00717.38
8.1.80.0000.00817.28
8.1.70.0000.00717.27
8.1.60.0000.00817.42
8.1.50.0090.00017.45
8.1.40.0040.00417.48
8.1.30.0080.00017.54
8.1.20.0040.00417.45
8.1.10.0060.00317.33
8.1.00.0000.00717.34
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.38
8.0.270.0040.00417.18
8.0.260.0030.00317.14
8.0.250.0060.00016.82
8.0.240.0070.00016.94
8.0.230.0070.00017.00
8.0.220.0060.00316.93
8.0.210.0000.00716.77
8.0.200.0030.00316.83
8.0.190.0000.00816.81
8.0.180.0080.00016.86
8.0.170.0050.00316.88
8.0.160.0040.00416.73
8.0.150.0040.00416.88
8.0.140.0040.00416.77
8.0.130.0050.00013.39
8.0.120.0000.00716.77
8.0.110.0070.00016.71
8.0.100.0080.00016.66
8.0.90.0000.00716.70
8.0.80.0030.01216.84
8.0.70.0000.00716.91
8.0.60.0040.00416.75
8.0.50.0040.00416.83
8.0.30.0100.00917.04
8.0.20.0110.00817.40
8.0.10.0060.00316.89
8.0.00.0090.01116.82
7.4.330.0050.00015.00
7.4.320.0030.00316.45
7.4.300.0030.00316.50
7.4.290.0030.00316.45
7.4.280.0020.00516.41
7.4.270.0070.00016.44
7.4.260.0040.00416.57
7.4.250.0020.00516.40
7.4.240.0050.00216.53
7.4.230.0000.00716.27
7.4.220.0210.00316.61
7.4.210.0070.00716.46
7.4.200.0000.00716.32
7.4.160.0030.01416.31
7.4.150.0110.00617.40
7.4.140.0130.01017.86
7.4.130.0130.00516.46
7.4.120.0100.00716.34
7.4.110.0060.01616.49
7.4.100.0130.00316.53
7.4.90.0110.00716.49
7.4.80.0110.01119.39
7.4.70.0060.01016.37
7.4.60.0070.00716.48
7.4.50.0020.00216.66
7.4.40.0070.01016.51
7.4.30.0100.00816.25
7.4.00.0070.01015.08
7.3.330.0050.00013.23
7.3.320.0060.00013.27
7.3.310.0030.00316.28
7.3.300.0000.00716.22
7.3.290.0080.00716.24
7.3.280.0080.00816.22
7.3.270.0070.01717.40
7.3.260.0060.01016.43
7.3.250.0110.00616.32
7.3.240.0170.00916.40
7.3.230.0070.01016.51
7.3.210.0060.01116.07
7.3.200.0120.01019.39
7.3.190.0140.00516.41
7.3.180.0100.00616.45
7.3.170.0060.01016.31
7.3.160.0100.00616.38
7.2.330.0030.01416.34
7.2.320.0000.01616.48
7.2.310.0090.01416.65
7.2.300.0060.01016.45
7.2.290.0170.00016.39
7.2.80.0080.00416.16
7.2.60.0100.00716.67
7.2.00.0040.00819.09
7.1.200.0040.00815.42
7.1.100.0030.00917.86
7.1.70.0000.00817.03
7.1.60.0040.01319.32
7.1.50.0060.01616.81
7.1.00.0070.07322.35
7.0.200.0000.01016.61
7.0.140.0000.07722.15
7.0.60.0200.07019.82
7.0.50.0070.03717.94
7.0.40.0130.07319.96
7.0.30.0270.05720.24
7.0.20.0300.08020.06
7.0.10.0300.07320.15
7.0.00.0030.07720.16
5.6.280.0000.07321.11
5.6.210.0030.08320.57
5.6.200.0100.07018.14
5.6.190.0130.08020.61
5.6.180.0300.07320.39
5.6.170.0300.06020.44
5.6.160.0130.07720.54
5.6.150.0030.05318.27
5.6.140.0070.07718.28
5.6.130.0170.04318.19
5.6.120.0070.05021.00
5.6.110.0200.07321.10
5.6.100.0030.04320.97
5.6.90.0030.08321.01
5.6.80.0130.05320.52
5.5.350.3830.03320.54
5.5.340.0170.03018.04
5.5.330.0070.04020.27
5.5.320.0470.07320.35
5.5.310.0330.08020.34
5.5.300.0070.04718.08
5.5.290.0070.03717.97
5.5.280.0130.06720.82
5.5.270.0100.05020.80
5.5.260.0230.07020.88
5.5.250.0130.08020.63
5.5.240.0100.05020.17
5.4.450.0800.06319.59
5.4.440.0900.05019.52
5.4.430.0730.06719.30
5.4.420.0670.00019.63
5.4.410.0630.00019.52
5.4.400.0670.00019.22
5.4.390.0830.00019.25
5.4.380.0630.00019.07
5.4.370.0630.00019.08
5.4.360.0670.00019.03
5.4.350.0630.00019.02
5.4.340.0040.03712.02
5.4.320.0050.03812.51
5.4.310.0050.04012.51
5.4.300.0100.03512.52
5.4.290.0070.04512.50
5.4.280.0060.03912.41
5.4.270.0070.04112.40
5.4.260.0080.04012.41
5.4.250.0050.04012.41
5.4.240.0060.04012.41
5.4.230.0080.03912.40
5.4.220.0040.04312.39
5.4.210.0070.05212.40
5.4.200.0060.04812.39
5.4.190.0090.04712.39
5.4.180.0070.04812.40
5.4.170.0060.05012.41
5.4.160.0070.03512.40
5.4.150.0100.03712.40
5.4.140.0040.03912.08
5.4.130.0050.03612.07
5.4.120.0070.03812.02
5.4.110.0050.03612.03
5.4.100.0080.04312.02
5.4.90.0060.03712.02
5.4.80.0060.03612.02
5.4.70.0060.03312.02
5.4.60.0060.03412.02
5.4.50.0080.03212.02
5.4.40.0090.03112.01
5.4.30.0080.03312.00
5.4.20.0040.03712.00
5.4.10.0040.03612.00
5.4.00.0030.03911.50
5.3.290.0060.03912.80
5.3.280.0050.03812.71
5.3.270.0060.03912.73
5.3.260.0040.04112.71
5.3.250.0080.03612.72
5.3.240.0090.03412.72
5.3.230.0060.03712.71
5.3.220.0090.03312.68
5.3.210.0090.03512.68
5.3.200.0060.03612.68
5.3.190.0090.03412.68
5.3.180.0050.03712.67
5.3.170.0090.03312.67
5.3.160.0060.03712.67
5.3.150.0080.03512.68
5.3.140.0040.04412.66
5.3.130.0070.05412.66
5.3.120.0130.04912.66
5.3.110.0090.05212.65
5.3.100.0110.04812.14
5.3.90.0050.04812.11
5.3.80.0060.04112.11
5.3.70.0080.04512.11
5.3.60.0070.05112.09
5.3.50.0080.04812.04
5.3.40.0060.05112.04
5.3.30.0100.04411.99
5.3.20.0120.04311.78
5.3.10.0080.04711.74
5.3.00.0090.04011.73
5.2.170.0060.0299.24
5.2.160.0040.0309.23
5.2.150.0040.0319.23
5.2.140.0060.0369.23
5.2.130.0030.0349.19
5.2.120.0020.0319.19
5.2.110.0050.0299.20
5.2.100.0040.0299.19
5.2.90.0020.0319.19
5.2.80.0050.0299.19
5.2.70.0020.0339.19
5.2.60.0040.0309.14
5.2.50.0070.0289.11
5.2.40.0060.0279.08
5.2.30.0040.0309.06
5.2.20.0040.0309.05
5.2.10.0030.0318.95
5.2.00.0030.0318.82
5.1.60.0020.0258.10
5.1.50.0030.0268.10
5.1.40.0040.0248.08
5.1.30.0050.0258.43
5.1.20.0030.0308.46
5.1.10.0030.0288.18
5.1.00.0030.0278.18
5.0.50.0050.0216.66
5.0.40.0040.0216.51
5.0.30.0010.0346.33
5.0.20.0060.0176.29
5.0.10.0050.0276.27
5.0.00.0070.0366.27
4.4.90.0050.0174.77
4.4.80.0030.0154.76
4.4.70.0050.0144.75
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0040.0144.85
4.4.00.0020.0254.76
4.3.110.0040.0144.66
4.3.100.0030.0144.67
4.3.90.0020.0174.63
4.3.80.0040.0294.59
4.3.70.0060.0134.63
4.3.60.0020.0164.63
4.3.50.0010.0224.63
4.3.40.0050.0224.54
4.3.30.0030.0153.29
4.3.20.0020.0233.25
4.3.10.0030.0153.22
4.3.00.0170.0177.36

preferences:
40.2 ms | 401 KiB | 5 Q