3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml=simplexml_load_string(<<<XML <row id="1_2"> <col1>Adilabad</col1> <col2>Andhra Pradesh</col2> <col3>30-Apr-2014</col3> <col4>http://en.wikipedia.org/wiki/Adilabad_(Lok_Sabha_constituency)</col4> <col5>http://www.elections.in/andhra-pradesh/parliamentary-constituencies/adilabad.html</col5> </row> <row id="1_3"> <col1>Peddapalli</col1> <col2>Andhra Pradesh</col2> <col3>30-Apr-2014</col3> <col4>http://en.wikipedia.org/wiki/Peddapalli_(Lok_Sabha_constituency)</col4> <col5>http://www.elections.in/andhra-pradesh/parliamentary-constituencies/peddapalli.html</col5> </row> XML ); $row = $xml; foreach ($row as $Entry) { echo $Entry->col1.' , '.$Entry->col2.' <br />'; }

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.0060.01518.90
8.3.50.0050.01121.97
8.3.40.0090.00918.84
8.3.30.0050.00819.29
8.3.20.0080.00020.51
8.3.10.0080.00022.30
8.3.00.0000.00822.84
8.2.180.0110.00417.00
8.2.170.0140.00722.96
8.2.160.0070.00719.41
8.2.150.0040.00424.18
8.2.140.0120.00624.66
8.2.130.0080.00026.16
8.2.120.0080.00019.61
8.2.110.0090.00022.53
8.2.100.0070.00418.16
8.2.90.0090.00019.46
8.2.80.0000.00818.41
8.2.70.0090.00017.88
8.2.60.0050.00318.05
8.2.50.0000.00818.07
8.2.40.0000.00818.34
8.2.30.0070.00018.36
8.2.20.0050.00317.97
8.2.10.0030.00517.95
8.2.00.0040.00418.08
8.1.280.0140.00425.92
8.1.270.0080.00022.29
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00624.11
8.1.230.0030.00719.38
8.1.220.0080.00017.93
8.1.210.0030.00618.77
8.1.200.0040.00717.48
8.1.190.0000.00917.78
8.1.180.0060.00318.85
8.1.170.0060.00318.79
8.1.160.0060.00322.20
8.1.150.0000.00818.77
8.1.140.0000.00717.75
8.1.130.0030.00318.02
8.1.120.0040.00417.57
8.1.110.0000.00817.60
8.1.100.0040.00417.74
8.1.90.0070.00017.63
8.1.80.0070.00017.77
8.1.70.0070.00017.75
8.1.60.0030.00617.74
8.1.50.0070.00017.54
8.1.40.0040.00417.73
8.1.30.0080.00017.68
8.1.20.0040.00417.79
8.1.10.0000.00717.69
8.1.00.0000.00917.59
8.0.300.0080.00018.77
8.0.290.0030.00417.30
8.0.280.0030.00318.59
8.0.270.0040.00417.51
8.0.260.0030.00317.14
8.0.250.0080.00017.10
8.0.240.0070.00017.17
8.0.230.0070.00017.27
8.0.220.0030.00317.24
8.0.210.0070.00017.06
8.0.200.0030.00317.30
8.0.190.0030.00317.28
8.0.180.0000.00717.14
8.0.170.0050.00317.11
8.0.160.0000.00817.13
8.0.150.0080.00316.98
8.0.140.0040.00417.18
8.0.130.0030.00313.57
8.0.120.0000.00817.05
8.0.110.0000.00817.03
8.0.100.0000.00817.23
8.0.90.0040.00417.05
8.0.80.0090.00917.11
8.0.70.0060.00317.30
8.0.60.0080.00017.01
8.0.50.0000.00717.08
8.0.30.0130.00617.46
8.0.20.0110.00817.40
8.0.10.0000.00717.32
8.0.00.0150.00417.03
7.4.330.0000.00615.00
7.4.320.0040.00416.77
7.4.300.0000.00616.56
7.4.290.0000.01016.81
7.4.280.0000.00716.78
7.4.270.0070.00016.84
7.4.260.0070.00016.69
7.4.250.0050.00316.70
7.4.240.0060.00216.91
7.4.230.0000.00716.81
7.4.220.0070.01016.81
7.4.210.0080.00716.79
7.4.200.0040.00416.78
7.4.190.0070.00016.88
7.4.160.0190.00416.75
7.4.150.0180.00017.40
7.4.140.0070.01317.86
7.4.130.0120.00516.63
7.4.120.0080.01316.74
7.4.110.0100.00716.68
7.4.100.0150.00916.87
7.4.90.0090.01316.66
7.4.80.0080.00819.39
7.4.70.0060.01216.83
7.4.60.0000.01716.70
7.4.50.0000.00916.75
7.4.40.0090.00622.77
7.4.30.0090.00616.71
7.4.00.0110.00715.15
7.3.330.0000.00513.57
7.3.320.0050.00013.22
7.3.310.0070.00016.39
7.3.300.0000.00716.45
7.3.290.0050.00916.57
7.3.280.0100.00616.56
7.3.270.0140.01117.40
7.3.260.0110.00716.68
7.3.250.0140.00716.68
7.3.240.0080.00816.74
7.3.230.0130.01016.49
7.3.210.0140.00716.64
7.3.200.0070.01019.39
7.3.190.0120.00916.76
7.3.180.0030.01316.63
7.3.170.0120.00316.56
7.3.160.0030.01216.79
7.3.120.0040.01014.82
7.2.330.0040.01316.84
7.2.320.0110.00716.62
7.2.310.0050.01116.80
7.2.300.0030.01716.63
7.2.290.0100.00716.71
7.2.60.0120.00816.83
7.1.200.0030.00915.91
7.1.100.0030.01418.32
7.1.70.0070.00317.26
7.1.60.0100.01419.82
7.1.50.0030.01717.05
7.1.00.0000.07722.49
7.0.200.0000.00816.79
7.0.140.0030.07322.09
7.0.60.0270.07719.96
7.0.50.0030.08318.04
7.0.40.0030.04320.20
7.0.30.0100.05020.25
7.0.20.0300.07020.24
7.0.10.0130.06720.28
7.0.00.0130.07720.37
5.6.280.0070.07021.04
5.6.210.0070.03720.52
5.6.200.0100.08318.25
5.6.190.0070.04320.53
5.6.180.0300.07720.35
5.6.170.0270.08320.55
5.6.160.0100.05020.52
5.6.150.0100.06018.41
5.6.140.0070.08018.27
5.6.130.0030.07318.22
5.6.120.0030.07321.18
5.6.110.0230.06721.00
5.6.100.0100.08320.99
5.6.90.0100.06321.01
5.6.80.0070.08320.39
5.5.350.0400.06720.53
5.5.340.0130.06318.18
5.5.330.0030.07720.54
5.5.320.0170.04320.50
5.5.310.0200.03720.50
5.5.300.0030.05018.05
5.5.290.0200.03318.18
5.5.280.0070.04721.00
5.5.270.0170.07720.91
5.5.260.0070.05720.99
5.5.250.0200.06720.53
5.5.240.0070.07320.23
5.4.450.3300.04019.41
5.4.440.0070.04019.66
5.4.430.1100.04719.67
5.4.420.3100.03319.50
5.4.410.3400.03719.52
5.4.400.3600.03719.25
5.4.390.3500.03719.22
5.4.380.4230.03019.18
5.4.370.4600.03319.32
5.4.360.4430.03319.25
5.4.350.3270.04019.23
5.4.340.3430.03019.31
5.4.320.4270.04019.18
5.4.310.4370.03319.25
5.4.300.3830.04019.22
5.4.290.4070.04019.00
5.4.280.3930.03719.15
5.4.270.3870.03319.31
5.4.260.4100.03319.19
5.4.250.4030.03019.18
5.4.240.3870.03019.18
5.4.230.4470.04019.29
5.4.220.4170.04019.29
5.4.210.4500.03019.06
5.4.200.4030.03319.20
5.4.190.4000.03319.00
5.4.180.3570.03319.28
5.4.170.3870.03719.19
5.4.160.0070.07319.01
5.4.150.0070.07719.27
5.4.140.4830.04716.59
5.4.130.4300.04016.56
5.4.120.4070.03316.60
5.4.110.3730.04316.61
5.4.100.3630.03716.66
5.4.90.3600.04016.57
5.4.80.3970.03316.66
5.4.70.3670.03316.63
5.4.60.4130.03716.62
5.4.50.0000.05316.63
5.4.40.0130.05716.52
5.4.30.4000.03716.49
5.4.20.3900.03716.48
5.4.10.4430.03716.64
5.4.00.4770.03316.06
5.3.290.4670.03714.79
5.3.280.4630.03314.62
5.3.270.3930.03714.63
5.3.260.0070.05014.63
5.3.250.1930.06014.70
5.3.240.3930.03014.71
5.3.230.3900.04014.82
5.3.220.3930.04314.71
5.3.210.3870.03314.76
5.3.200.4070.03014.79
5.3.190.4070.04314.73
5.3.180.3600.03014.49
5.3.170.4030.03314.64
5.3.160.3800.03714.64
5.3.150.2000.04014.74
5.3.140.0070.04014.71
5.3.130.4000.04014.73
5.3.120.3530.04014.69
5.3.110.3570.04014.61
5.3.100.4000.04014.23
5.3.90.3700.03314.10
5.3.80.3800.04014.10
5.3.70.4000.02714.20
5.3.60.3600.02714.02
5.3.50.3500.03713.88
5.3.40.4600.03713.97
5.3.30.4100.03714.04
5.3.20.2930.03313.82
5.3.10.3070.03313.68
5.3.00.3730.03013.66
5.2.170.3100.03311.21
5.2.160.3700.03311.24
5.2.150.3930.02711.16
5.2.140.3100.04011.23
5.2.130.1670.03011.25
5.2.120.2430.03011.23
5.2.110.2800.03011.02
5.2.100.2930.02711.29
5.2.90.2730.02311.18
5.2.80.2370.03311.21
5.2.70.2400.03011.13
5.2.60.2800.03311.13
5.2.50.2970.02311.04
5.2.40.2500.02311.14
5.2.30.2130.02711.14
5.2.20.2170.02711.12
5.2.10.2330.02710.98
5.2.00.1930.02310.84
5.1.60.1800.0279.93
5.1.50.2500.02310.11
5.1.40.2600.02310.14
5.1.30.2430.03010.28
5.1.20.2400.02710.50
5.1.10.2330.02710.23
5.1.00.2530.02310.13
5.0.50.1200.0208.66
5.0.40.1800.0238.52
5.0.30.1730.0278.42
5.0.20.1670.0178.20
5.0.10.1430.0208.41
5.0.00.1470.0308.32
4.4.90.1170.0136.37
4.4.80.1230.0136.38
4.4.70.1430.0176.38
4.4.60.0800.0176.38
4.4.50.0700.0136.40
4.4.40.1170.0236.41
4.4.30.1300.0136.41
4.4.20.1270.0106.45
4.4.10.1530.0076.48
4.4.00.1530.0236.48
4.3.110.1430.0176.49
4.3.100.1630.0176.51
4.3.90.1470.0206.51
4.3.80.1370.0236.55
4.3.70.1500.0136.55
4.3.60.1430.0206.57
4.3.50.1170.0176.57
4.3.40.1430.0276.57
4.3.30.0800.0276.58
4.3.20.0670.0206.63
4.3.10.0700.0236.63
4.3.00.0770.0236.63

preferences:
42.06 ms | 401 KiB | 5 Q