3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml=simplexml_load_string(<<<XML <feed> <entry> <id>1980475</id> <link rel="post" href="http://..."></link> <link rel="edit" href="http://..."></link> <link rel="alternate" href="http://..."></link> </entry> <entry> <id>1980476</id> <link rel="post" href="http://..."></link> <link rel="edit" href="http://..."></link> <link rel="alternate" href="http://..."></link> </entry> </feed> XML ); echo count($xml->xpath('//link[@rel="alternate"]'));

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.0090.00618.80
8.3.50.0080.00822.14
8.3.40.0120.00319.06
8.3.30.0000.01419.43
8.3.20.0000.00720.66
8.3.10.0080.00022.42
8.3.00.0000.00822.68
8.2.180.0150.00016.75
8.2.170.0090.00622.96
8.2.160.0090.00621.39
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00819.61
8.2.110.0080.00322.58
8.2.100.0120.00018.03
8.2.90.0040.00419.42
8.2.80.0060.00318.18
8.2.70.0090.00317.88
8.2.60.0040.00418.18
8.2.50.0060.00318.07
8.2.40.0080.00018.47
8.2.30.0050.00218.29
8.2.20.0040.00418.03
8.2.10.0000.00718.07
8.2.00.0040.00418.00
8.1.280.0120.00625.92
8.1.270.0050.00324.16
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00624.29
8.1.230.0040.00819.47
8.1.220.0030.00618.03
8.1.210.0040.00418.77
8.1.200.0090.00017.73
8.1.190.0080.00017.78
8.1.180.0040.00418.10
8.1.170.0080.00018.94
8.1.160.0050.00222.38
8.1.150.0000.00819.05
8.1.140.0080.00017.91
8.1.130.0070.00018.24
8.1.120.0030.00417.69
8.1.110.0050.00317.64
8.1.100.0040.00417.84
8.1.90.0030.00517.81
8.1.80.0030.00317.63
8.1.70.0030.00317.83
8.1.60.0030.00617.84
8.1.50.0060.00317.71
8.1.40.0000.00817.96
8.1.30.0000.01018.09
8.1.20.0030.00618.01
8.1.10.0000.00917.72
8.1.00.0000.00717.88
8.0.300.0040.00418.77
8.0.290.0030.00717.43
8.0.280.0000.00918.80
8.0.270.0000.00717.67
8.0.260.0000.00817.42
8.0.250.0000.00817.37
8.0.240.0030.00317.29
8.0.230.0000.00717.13
8.0.220.0030.00317.26
8.0.210.0050.00317.33
8.0.200.0000.00717.18
8.0.190.0040.00417.22
8.0.180.0060.00317.23
8.0.170.0000.00817.43
8.0.160.0030.00517.38
8.0.150.0050.00317.34
8.0.140.0040.00417.08
8.0.130.0000.00613.56
8.0.120.0040.00417.29
8.0.110.0000.00717.12
8.0.100.0040.00417.23
8.0.90.0040.00417.29
8.0.80.0120.00317.42
8.0.70.0000.00717.35
8.0.60.0000.00717.23
8.0.50.0070.00017.23
8.0.30.0110.01217.35
8.0.20.0160.00517.53
8.0.10.0040.00417.43
8.0.00.0100.00717.25
7.4.330.0050.00015.43
7.4.320.0030.00316.79
7.4.300.0030.00316.68
7.4.290.0040.00416.89
7.4.280.0040.00416.77
7.4.270.0000.00716.75
7.4.260.0000.00716.77
7.4.250.0000.00716.94
7.4.240.0020.00516.84
7.4.230.0050.00317.04
7.4.220.0040.01316.94
7.4.210.0080.00916.89
7.4.200.0080.00016.98
7.4.190.0040.00416.93
7.4.160.0090.00616.80
7.4.150.0060.01317.40
7.4.140.0120.01117.86
7.4.130.0100.01116.98
7.4.120.0100.01116.90
7.4.110.0100.00716.90
7.4.100.0120.00816.88
7.4.90.0070.01016.77
7.4.80.0090.01119.39
7.4.70.0060.00916.86
7.4.60.0030.01316.89
7.4.50.0030.00516.89
7.4.40.0100.00722.77
7.4.30.0000.01616.83
7.4.10.0000.01515.19
7.4.00.0050.01215.24
7.3.330.0020.00213.38
7.3.320.0000.00613.25
7.3.310.0030.00616.36
7.3.300.0040.00416.62
7.3.290.0080.00816.72
7.3.280.0090.01016.61
7.3.270.0030.01517.40
7.3.260.0140.01016.94
7.3.250.0110.00916.74
7.3.240.0150.00516.79
7.3.230.0090.00616.65
7.3.210.0030.01316.74
7.3.200.0120.00619.39
7.3.190.0070.01116.55
7.3.180.0070.01416.50
7.3.170.0030.01316.72
7.3.160.0110.00516.87
7.3.130.0110.00715.00
7.3.120.0020.01414.89
7.3.110.0060.00614.86
7.3.100.0120.00314.66
7.3.90.0040.01114.93
7.3.80.0000.00814.87
7.3.70.0070.00314.82
7.3.60.0040.01114.98
7.3.50.0000.01415.02
7.3.40.0040.01114.92
7.3.30.0030.00915.04
7.3.20.0030.00716.59
7.3.10.0070.00316.62
7.3.00.0000.00916.60
7.2.330.0210.00016.96
7.2.320.0090.00916.94
7.2.310.0170.00217.15
7.2.300.0120.00916.88
7.2.290.0110.00616.77
7.2.260.0060.01015.04
7.2.250.0030.01415.04
7.2.240.0040.01215.18
7.2.230.0060.01215.20
7.2.220.0060.01015.17
7.2.210.0060.00615.24
7.2.200.0080.00815.29
7.2.190.0120.00014.88
7.2.180.0040.01115.00
7.2.170.0080.00815.05
7.2.160.0060.00615.20
7.2.150.0030.01216.98
7.2.140.0040.00717.16
7.2.130.0030.01017.13
7.2.120.0080.00617.05
7.2.110.0070.00717.05
7.2.100.0100.00717.26
7.2.90.0070.00717.14
7.2.80.0060.00617.35
7.2.70.0000.01317.07
7.2.60.0060.00616.82
7.2.50.0040.00817.04
7.2.40.0000.01217.32
7.2.30.0070.01017.11
7.2.20.0060.00617.22
7.2.10.0040.01117.42
7.2.00.0030.00818.49
7.1.330.0000.01315.87
7.1.320.0070.00316.05
7.1.310.0070.01015.77
7.1.300.0070.00715.79
7.1.290.0040.01115.64
7.1.280.0070.00315.80
7.1.270.0070.00715.79
7.1.260.0080.00415.73
7.1.250.0060.00615.70
7.1.240.0030.00515.84
7.1.230.0090.00915.79
7.1.220.0070.00315.80
7.1.210.0030.00716.03
7.1.200.0070.00515.72
7.1.190.0000.01115.64
7.1.180.0100.00315.56
7.1.170.0030.00915.90
7.1.160.0050.00315.85
7.1.150.0040.00416.00
7.1.140.0030.00615.55
7.1.130.0070.00716.05
7.1.120.0060.00315.68
7.1.110.0060.01015.89
7.1.100.0030.00816.90
7.1.90.0030.01215.69
7.1.80.0110.00415.79
7.1.70.0080.00816.37
7.1.60.0080.00816.36
7.1.50.0050.01316.56
7.1.40.0100.00615.67
7.1.30.0090.00615.55
7.1.20.0030.01315.81
7.1.10.0070.00715.69
7.1.00.0070.04219.18
7.0.330.0080.00315.50
7.0.320.0090.00015.54
7.0.310.0000.01315.64
7.0.300.0070.00715.51
7.0.290.0040.00715.41
7.0.280.0100.00315.47
7.0.270.0100.00315.45
7.0.260.0060.00915.56
7.0.250.0040.01215.85
7.0.240.0070.00715.61
7.0.230.0070.00315.83
7.0.220.0100.00315.64
7.0.210.0040.00815.42
7.0.200.0040.01216.05
7.0.190.0060.01215.53
7.0.180.0060.00315.55
7.0.170.0030.00915.54
7.0.160.0000.01115.59
7.0.150.0100.00315.73
7.0.140.0030.04118.80
7.0.130.0030.00615.57
7.0.120.0000.01015.59
7.0.110.0060.00615.41
7.0.100.0030.01015.50
7.0.90.0000.01215.47
7.0.80.0070.00415.33
7.0.70.0030.05018.56
7.0.60.0030.04318.68
7.0.50.0030.03418.80
7.0.40.0030.05016.91
7.0.30.0020.04616.87
7.0.20.0080.04016.82
7.0.10.0000.03216.88
7.0.00.0060.04016.91
5.6.400.0070.00714.55
5.6.390.0090.00314.32
5.6.380.0060.00614.40
5.6.370.0030.01014.55
5.6.360.0070.00714.46
5.6.350.0030.01014.28
5.6.340.0040.01114.44
5.6.330.0000.00914.43
5.6.320.0030.01214.55
5.6.310.0120.00614.78
5.6.300.0080.00614.40
5.6.290.0080.00414.44
5.6.280.0050.03917.95
5.6.270.0030.01014.50
5.6.260.0070.00714.42
5.6.250.0030.01014.40
5.6.240.0030.01014.27
5.6.230.0080.00314.43
5.6.220.0050.04817.64
5.6.210.0050.04317.55
5.6.200.0030.04317.76
5.6.190.0080.04217.84
5.6.180.0050.04717.81
5.6.170.0050.03117.74
5.6.160.0050.04617.75
5.6.150.0050.04517.99
5.6.140.0050.04517.97
5.6.130.0020.04717.80
5.6.120.0050.02317.77
5.6.110.0090.02117.86
5.6.100.0050.03417.85
5.6.90.0020.02717.74
5.6.80.0000.02517.52
5.6.70.0070.02317.45
5.6.60.0040.03217.59
5.6.50.0110.01817.50
5.6.40.0070.02017.52
5.6.30.0050.02317.67
5.6.20.0050.04417.45
5.6.10.0010.03617.34
5.6.00.0040.04717.42
5.5.380.0110.00014.59
5.5.370.0000.01314.46
5.5.360.0060.04317.62
5.5.350.0030.04017.57
5.5.340.0030.04517.69
5.5.330.0050.04517.78
5.5.320.0000.04517.67
5.5.310.0030.04917.70
5.5.300.0070.04517.61
5.5.290.0040.02817.79
5.5.280.0050.03217.69
5.5.270.0070.03217.61
5.5.260.0020.02917.71
5.5.250.0070.04217.63
5.5.240.0020.04017.38
5.5.230.0020.02217.29
5.5.220.0050.02317.32
5.5.210.0040.02917.42
5.5.200.0050.02317.18
5.5.190.0060.02417.35
5.5.180.0020.02717.41
5.5.170.0090.00614.47
5.5.160.0020.02717.34
5.5.150.0030.02217.36
5.5.140.0070.02017.32
5.5.130.0050.02517.29
5.5.120.0000.02717.44
5.5.110.0030.02517.32
5.5.100.0050.02217.29
5.5.90.0070.03317.29
5.5.80.0030.02617.29
5.5.70.0070.02017.26
5.5.60.0030.02217.31
5.5.50.0050.02217.25
5.5.40.0040.02217.12
5.5.30.0030.02617.12
5.5.20.0050.01817.40
5.5.10.0050.02317.28
5.5.00.0070.02217.03
5.4.450.0030.03716.10
5.4.440.0030.04316.01
5.4.430.0010.02516.04
5.4.420.0040.02916.04
5.4.410.0070.01815.94
5.4.400.0030.02115.91
5.4.390.0050.02215.93
5.4.380.0030.02315.79
5.4.370.0040.01915.88
5.4.360.0080.01815.88
5.4.350.0030.02315.88
5.4.340.0050.02015.90
5.4.330.0000.00812.57
5.4.320.0030.03015.84
5.4.310.0010.02515.79
5.4.300.0050.02516.00
5.4.290.0070.02015.99
5.4.280.0040.02215.90
5.4.270.0050.03515.90
5.4.260.0030.02115.91
5.4.250.0030.02515.83
5.4.240.0030.03615.91
5.4.230.0020.02315.92
5.4.220.0070.01815.92
5.4.210.0020.03915.91
5.4.200.0030.02216.00
5.4.190.0030.01916.00
5.4.180.0030.01715.84
5.4.170.0020.02416.00
5.4.160.0010.01915.91
5.4.150.0040.01715.87
5.4.140.0020.02114.55
5.4.130.0000.02714.54
5.4.120.0020.01814.47
5.4.110.0000.02114.56
5.4.100.0020.03114.52
5.4.90.0000.03314.48
5.4.80.0030.03314.47
5.4.70.0050.04014.58
5.4.60.0030.04014.47
5.4.50.0060.03114.52
5.4.40.0020.03014.58
5.4.30.0030.04014.45
5.4.20.0040.04014.52
5.4.10.0050.04214.49
5.4.00.0070.03514.20
5.3.290.0070.06314.82
5.3.280.0000.04014.59
5.3.270.0030.03014.80
5.3.260.0030.06014.61
5.3.250.0030.03314.75
5.3.240.0000.03714.77
5.3.230.0030.03014.64
5.3.220.0030.05714.79
5.3.210.0030.03714.57
5.3.200.0000.03014.61
5.3.190.0000.03714.77
5.3.180.0000.05314.79
5.3.170.0030.04714.67
5.3.160.0030.07014.70
5.3.150.0000.08014.61
5.3.140.0030.07714.77
5.3.130.0030.07014.68
5.3.120.0000.07314.77
5.3.110.0130.05014.55
5.3.100.0030.08314.19
5.3.90.0000.04314.02
5.3.80.0000.03714.22
5.3.70.0000.04014.18
5.3.60.0030.06714.19
5.3.50.0070.06314.09
5.3.40.0000.07714.19
5.3.30.0030.07713.89
5.3.20.0030.05313.90
5.3.10.0030.07013.64
5.3.00.0000.07313.77
5.2.170.0000.06312.18
5.2.160.0030.04012.18
5.2.150.0000.07012.18
5.2.140.0030.05012.18
5.2.130.0100.05012.18
5.2.120.0030.04312.18
5.2.110.0130.03712.18
5.2.100.0000.03712.18
5.2.90.0000.05712.18
5.2.80.0030.06312.18
5.2.70.0000.05712.18
5.2.60.0070.03312.18
5.2.50.0000.03012.18
5.2.40.0070.06012.18
5.2.30.0000.04712.18
5.2.20.0030.03312.18
5.2.10.0030.06312.18
5.2.00.0000.04712.18
5.1.60.0030.03312.18
5.1.50.0030.05012.18
5.1.40.0030.05312.18
5.1.30.0000.05712.18
5.1.20.0030.05712.18
5.1.10.0000.05312.18
5.1.00.0070.05312.18
5.0.50.0000.04712.18
5.0.40.0070.04312.18
5.0.30.0070.05712.18
5.0.20.0000.04012.18
5.0.10.0000.04012.18
5.0.00.0030.06012.18
4.4.90.0000.02712.18
4.4.80.0000.03712.18
4.4.70.0030.02712.18
4.4.60.0030.02312.18
4.4.50.0000.03712.18
4.4.40.0070.05012.18
4.4.30.0000.03312.18
4.4.20.0000.03712.18
4.4.10.0030.03312.18
4.4.00.0070.05312.18
4.3.110.0000.03712.18
4.3.100.0030.03312.18
4.3.90.0000.03712.18
4.3.80.0030.05312.18
4.3.70.0030.03012.18
4.3.60.0000.03712.18
4.3.50.0030.03712.18
4.3.40.0030.05312.18
4.3.30.0000.03712.18
4.3.20.0000.04012.18
4.3.10.0030.03312.18
4.3.00.0000.03712.18

preferences:
72.96 ms | 401 KiB | 5 Q