3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml=simplexml_load_string(<<<XML <row id="1_1"> <col1>Constituency</col1> <col2>State</col2> <col3>Election date</col3> <col4>Wikipedia link</col4> <col5>Election.in link</col5> </row> <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->Entry 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.0080.01218.76
8.3.50.0050.01322.18
8.3.40.0150.00018.96
8.3.30.0110.00419.06
8.3.20.0040.00420.71
8.3.10.0050.00322.20
8.3.00.0040.00422.65
8.2.180.0060.01216.88
8.2.170.0030.01222.96
8.2.160.0030.01020.64
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0160.00326.16
8.2.120.0080.00019.73
8.2.110.0050.00522.44
8.2.100.0060.00619.82
8.2.90.0000.00819.39
8.2.80.0050.00318.05
8.2.70.0030.00617.88
8.2.60.0050.00318.05
8.2.50.0000.00818.07
8.2.40.0040.00418.41
8.2.30.0050.00218.46
8.2.20.0000.00718.04
8.2.10.0080.00017.86
8.2.00.0000.00817.86
8.1.280.0140.00025.92
8.1.270.0030.00622.31
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00324.07
8.1.230.0000.01219.45
8.1.220.0050.00317.91
8.1.210.0000.00818.77
8.1.200.0080.00017.48
8.1.190.0050.00317.78
8.1.180.0000.00718.96
8.1.170.0030.00518.82
8.1.160.0030.00722.36
8.1.150.0040.00418.89
8.1.140.0000.00817.55
8.1.130.0050.00218.03
8.1.120.0000.00717.80
8.1.110.0040.00417.72
8.1.100.0040.00417.76
8.1.90.0040.00417.72
8.1.80.0000.00817.56
8.1.70.0030.00317.56
8.1.60.0040.00417.89
8.1.50.0040.00417.65
8.1.40.0000.00717.67
8.1.30.0030.00517.78
8.1.20.0040.00417.74
8.1.10.0000.00717.56
8.1.00.0040.00417.46
8.0.300.0040.00418.77
8.0.290.0040.00417.30
8.0.280.0030.00318.84
8.0.270.0000.00717.23
8.0.260.0080.00017.07
8.0.250.0000.00717.34
8.0.240.0040.00417.13
8.0.230.0040.00417.23
8.0.220.0000.00717.24
8.0.210.0000.00817.03
8.0.200.0050.00317.18
8.0.190.0040.00417.29
8.0.180.0030.00317.09
8.0.170.0080.00017.09
8.0.160.0040.00417.06
8.0.150.0040.00417.26
8.0.140.0080.00017.07
8.0.130.0060.00013.56
8.0.120.0080.00017.16
8.0.110.0000.00717.04
8.0.100.0070.00017.20
8.0.90.0040.00417.14
8.0.80.0060.01017.19
8.0.70.0050.00317.09
8.0.60.0050.00217.10
8.0.50.0040.00417.09
8.0.30.0160.00317.30
8.0.20.0090.01017.46
8.0.10.0040.00417.32
8.0.00.0130.00816.93
7.4.330.0000.00615.00
7.4.320.0030.00316.76
7.4.300.0030.00316.77
7.4.290.0070.00316.84
7.4.280.0030.00316.81
7.4.270.0060.00016.78
7.4.260.0040.00416.84
7.4.250.0000.00816.62
7.4.240.0000.00716.79
7.4.230.0000.00816.91
7.4.220.0100.00716.88
7.4.210.0090.00916.75
7.4.200.0080.00016.67
7.4.190.0000.00816.64
7.4.160.0130.00316.90
7.4.150.0060.01217.40
7.4.140.0070.01417.86
7.4.130.0090.01216.68
7.4.120.0130.00316.71
7.4.110.0070.01016.82
7.4.100.0130.00916.71
7.4.90.0090.01216.69
7.4.80.0100.00719.39
7.4.70.0070.01116.76
7.4.60.0040.01316.77
7.4.50.0030.00516.77
7.4.40.0070.01022.77
7.4.30.0130.00316.77
7.4.00.0100.00414.95
7.3.330.0030.00313.41
7.3.320.0030.00313.20
7.3.310.0050.00316.32
7.3.300.0060.00016.50
7.3.290.0000.01516.44
7.3.280.0070.00716.45
7.3.270.0060.01217.40
7.3.260.0070.01116.71
7.3.250.0090.00916.51
7.3.240.0090.01216.50
7.3.230.0120.00416.70
7.3.210.0110.00716.68
7.3.200.0080.01219.39
7.3.190.0070.01416.38
7.3.180.0120.00816.55
7.3.170.0070.01116.77
7.3.160.0090.00616.50
7.3.120.0050.01314.76
7.3.110.0050.01215.00
7.3.100.0070.00915.03
7.3.90.0050.01214.98
7.3.80.0070.00814.92
7.3.70.0070.00714.90
7.3.60.0080.00814.92
7.3.50.0020.01014.67
7.3.40.0090.00614.79
7.3.30.0050.01114.79
7.3.20.0060.00816.63
7.3.10.0080.00616.62
7.3.00.0050.01016.59
7.2.330.0030.01616.54
7.2.320.0340.01216.58
7.2.310.0110.00616.75
7.2.300.0070.01316.84
7.2.290.0130.01016.89
7.2.250.0100.01015.01
7.2.240.0050.01015.04
7.2.230.0040.01315.06
7.2.220.0050.00614.97
7.2.210.0070.00815.34
7.2.200.0060.00815.12
7.2.190.0050.00715.10
7.2.180.0030.01015.26
7.2.170.0070.00814.99
7.2.160.0040.01514.67
7.2.150.0110.00717.19
7.2.140.0100.00716.93
7.2.130.0030.01216.74
7.2.120.0060.01217.10
7.2.110.0110.00616.90
7.2.100.0060.01217.02
7.2.90.0100.01316.80
7.2.80.0070.01016.94
7.2.70.0110.01117.18
7.2.60.0030.01116.81
7.2.50.0060.00917.04
7.2.40.0000.01017.00
7.2.30.0030.01417.07
7.2.20.0070.00716.71
7.2.10.0100.00316.89
7.2.00.0060.00718.38
7.1.330.0110.00615.80
7.1.320.0040.00715.99
7.1.310.0080.00515.95
7.1.300.0060.00515.83
7.1.290.0070.00715.97
7.1.280.0040.00615.96
7.1.270.0080.00515.79
7.1.260.0070.00616.00
7.1.250.0070.00715.95
7.1.200.0120.00915.91
7.1.70.0040.00417.34
7.1.60.0040.00717.32
7.1.50.0000.01117.06
7.1.00.0070.07022.50
7.0.200.0030.01316.83
7.0.140.0030.07322.16
7.0.60.0100.07020.11
7.0.50.0070.08317.95
7.0.40.0070.04020.12
7.0.30.0200.04720.22
7.0.20.0200.05320.31
7.0.10.0170.04320.24
7.0.00.0000.04720.20
5.6.280.0130.06321.18
5.6.210.0030.08720.54
5.6.200.0100.03718.28
5.6.190.0170.03720.68
5.6.180.3330.04720.57
5.6.170.0300.08720.63
5.6.160.0070.08320.63
5.6.150.0000.06318.30
5.6.140.0100.03318.25
5.6.130.0170.07318.41
5.6.120.0000.05321.15
5.6.110.0070.06721.09
5.6.100.0100.08021.18
5.6.90.0100.08321.11
5.6.80.0030.06020.41
5.6.70.0270.07020.42
5.5.350.0070.03720.53
5.5.340.0070.06717.99
5.5.330.0070.03720.61
5.5.320.0270.07020.46
5.5.310.0170.05320.48
5.5.300.0130.07318.18
5.5.290.0130.07018.02
5.5.280.0100.08020.72
5.5.270.0030.04020.83
5.5.260.0100.07020.93
5.5.250.0130.08320.86
5.5.240.0030.03720.26
5.4.450.0500.05319.63
5.4.440.0530.05319.37
5.4.430.0430.06719.43
5.4.420.0430.05319.64
5.4.410.0130.05019.50
5.4.400.1230.00018.85
5.4.390.1630.00018.86
5.4.380.0330.05718.76
5.4.370.0270.06018.76
5.4.360.0230.05318.82
5.4.350.0230.06318.82
5.4.340.0330.05318.67
5.4.320.0060.05212.64
5.4.310.0090.05012.64
5.4.300.0070.03712.65
5.4.290.0060.04412.65
5.4.280.0060.03812.55
5.4.270.0060.04612.55
5.4.260.0170.07018.82
5.4.250.0070.05318.95
5.4.240.0070.05719.13
5.4.230.0130.06019.09
5.4.220.0130.07019.23
5.4.210.0100.07318.95
5.4.200.0170.04319.07
5.4.190.0070.05318.97
5.4.180.0070.05018.84
5.4.170.0100.05018.96
5.4.160.0100.05319.05
5.4.150.0130.07318.94
5.4.140.0230.04016.46
5.4.130.0100.04316.39
5.4.120.0070.05016.39
5.4.110.0130.04716.36
5.4.100.0000.05716.71
5.4.90.0000.07316.31
5.4.80.0070.05016.42
5.4.70.0130.04016.70
5.4.60.0100.04716.69
5.4.50.0000.05316.51
5.4.40.0130.04316.73
5.4.30.0170.03716.40
5.4.20.0100.04716.40
5.4.10.0070.05016.30
5.4.00.0030.05016.06
5.3.290.0100.04212.91
5.3.280.0030.06314.88
5.3.270.0070.05014.89
5.3.260.0070.05314.75
5.3.250.0130.06714.75
5.3.240.0030.06314.75
5.3.230.0070.05314.71
5.3.220.0270.04714.62
5.3.210.0070.05314.80
5.3.200.0170.06314.81
5.3.190.0100.04714.62
5.3.180.0170.04014.61
5.3.170.0100.06714.63
5.3.160.0070.04714.70
5.3.150.0000.05714.46
5.3.140.0130.04314.80
5.3.130.0100.05314.83
5.3.120.0000.05714.84
5.3.110.0030.06714.79
5.3.100.0030.05014.18
5.3.90.0030.05314.18
5.3.80.0070.05014.18
5.3.70.0100.04314.16
5.3.60.0130.05014.14
5.3.50.0030.06014.19
5.3.40.0100.04714.05
5.3.30.0070.05014.07
5.3.20.0000.07313.59
5.3.10.0130.04713.79
5.3.00.0200.05013.69
5.2.170.0030.04311.20
5.2.160.0100.03311.37
5.2.150.0070.04011.43
5.2.140.0030.05011.29
5.2.130.0070.04311.21
5.2.120.0030.04311.12
5.2.110.0030.05011.24
5.2.100.0000.06011.24
5.2.90.0130.03711.11
5.2.80.0100.05311.24
5.2.70.0070.05711.12
5.2.60.0100.04311.18
5.2.50.0030.04311.05
5.2.40.0070.03711.01
5.2.30.0000.06011.11
5.2.20.0000.04311.12
5.2.10.0030.04011.02
5.2.00.0030.04310.78
5.1.60.0070.04010.16
5.1.50.0030.05010.33
5.1.40.0030.03310.16
5.1.30.0130.03310.39
5.1.20.0170.04310.61
5.1.10.0030.03710.22
5.1.00.0030.03710.14
5.0.50.0030.0308.70
5.0.40.0000.0308.65
5.0.30.0000.0438.36
5.0.20.0030.0338.41
5.0.10.0030.0308.31
5.0.00.0100.0378.32
4.4.90.0030.0306.08
4.4.80.0000.0236.08
4.4.70.0030.0206.08
4.4.60.0030.0206.08
4.4.50.0070.0176.08
4.4.40.0000.0506.08
4.4.30.0030.0276.08
4.4.20.0070.0276.35
4.4.10.0000.0236.35
4.4.00.0070.0306.35
4.3.110.0100.0176.35
4.3.100.0030.0306.30
4.3.90.0030.0206.27
4.3.80.0000.0476.22
4.3.70.0030.0176.19
4.3.60.0030.0306.17
4.3.50.0030.0206.16
4.3.40.0100.0336.13
4.3.30.0030.0306.12
4.3.20.0030.0206.07
4.3.10.0000.0336.07
4.3.00.0030.0239.25

preferences:
44.28 ms | 401 KiB | 5 Q