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->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.0170.00318.80
8.3.50.0110.00522.11
8.3.40.0060.00918.87
8.3.30.0000.01419.20
8.3.20.0090.00020.72
8.3.10.0040.00422.30
8.3.00.0080.00022.65
8.2.180.0140.00718.91
8.2.170.0070.00722.96
8.2.160.0160.00319.21
8.2.150.0030.00624.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.73
8.2.110.0100.00021.24
8.2.100.0100.00618.03
8.2.90.0040.00419.41
8.2.80.0040.00418.18
8.2.70.0030.00617.75
8.2.60.0030.00618.28
8.2.50.0090.00018.07
8.2.40.0000.00818.41
8.2.30.0000.00718.32
8.2.20.0000.00817.98
8.2.10.0000.00818.14
8.2.00.0000.00717.98
8.1.280.0120.00925.92
8.1.270.0000.00722.13
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0000.00919.34
8.1.230.0060.00617.95
8.1.220.0060.00318.01
8.1.210.0040.00418.77
8.1.200.0030.00617.60
8.1.190.0080.00017.68
8.1.180.0000.00820.66
8.1.170.0040.00418.77
8.1.160.0030.00722.19
8.1.150.0040.00418.84
8.1.140.0070.00017.61
8.1.130.0000.00718.01
8.1.120.0030.00317.78
8.1.110.0040.00417.73
8.1.100.0040.00317.62
8.1.90.0030.00517.57
8.1.80.0040.00417.73
8.1.70.0000.00817.54
8.1.60.0000.00817.70
8.1.50.0040.00417.61
8.1.40.0030.00517.61
8.1.30.0030.00617.67
8.1.20.0080.00017.67
8.1.10.0000.00717.77
8.1.00.0000.00817.63
8.0.300.0000.00718.77
8.0.290.0030.00617.30
8.0.280.0030.00318.69
8.0.270.0040.00417.43
8.0.260.0040.00417.14
8.0.250.0030.00317.30
8.0.240.0040.00417.29
8.0.230.0050.00217.11
8.0.220.0070.00017.30
8.0.210.0000.00717.21
8.0.200.0000.00617.13
8.0.190.0040.00417.31
8.0.180.0030.00317.27
8.0.170.0000.00917.00
8.0.160.0000.00817.10
8.0.150.0100.00016.98
8.0.140.0000.00717.24
8.0.130.0000.00713.52
8.0.120.0060.00317.21
8.0.110.0000.00717.17
8.0.100.0030.00517.13
8.0.90.0000.00917.06
8.0.80.0030.01717.15
8.0.70.0070.00017.11
8.0.60.0050.00317.12
8.0.50.0070.00016.94
8.0.30.0090.00917.41
8.0.20.0120.00717.43
8.0.10.0080.00017.30
8.0.00.0090.00916.94
7.4.330.0060.00015.00
7.4.320.0030.00316.72
7.4.300.0000.00616.81
7.4.290.0000.01116.76
7.4.280.0040.00416.67
7.4.270.0040.00416.69
7.4.260.0040.00416.78
7.4.250.0000.00816.73
7.4.240.0020.00516.76
7.4.230.0030.00316.76
7.4.220.0060.01116.86
7.4.210.0060.00916.77
7.4.200.0040.00416.58
7.4.190.0040.00416.59
7.4.160.0030.01716.60
7.4.150.0000.01717.40
7.4.140.0040.01617.86
7.4.130.0120.00516.87
7.4.120.0120.00716.69
7.4.110.0030.01416.79
7.4.100.0140.00716.86
7.4.90.0090.00916.88
7.4.80.0070.01019.39
7.4.70.0100.00716.79
7.4.60.0070.01116.76
7.4.50.0000.00816.78
7.4.40.0040.01522.77
7.4.30.0040.01216.81
7.4.00.0040.01114.95
7.3.330.0020.00213.45
7.3.320.0050.00013.15
7.3.310.0040.00416.54
7.3.300.0000.00616.48
7.3.290.0100.01016.58
7.3.280.0100.00716.51
7.3.270.0070.01017.40
7.3.260.0100.01016.65
7.3.250.0110.00616.65
7.3.240.0140.00416.64
7.3.230.0100.01316.57
7.3.210.0030.01516.72
7.3.200.0110.00719.39
7.3.190.0090.01216.67
7.3.180.0070.01016.73
7.3.170.0100.01316.65
7.3.160.0130.00316.63
7.3.120.0090.00614.85
7.3.110.0040.00815.11
7.3.100.0070.00414.92
7.3.90.0120.00314.63
7.3.80.0060.00314.93
7.3.70.0070.00714.79
7.3.60.0060.00914.72
7.3.50.0040.00814.50
7.3.40.0060.00914.61
7.3.30.0100.00714.91
7.3.20.0030.00916.79
7.3.10.0090.00716.67
7.3.00.0030.01316.81
7.2.330.0090.00917.02
7.2.320.0070.01116.98
7.2.310.0060.01216.55
7.2.300.0040.01316.64
7.2.290.0040.01916.98
7.2.240.0100.00015.07
7.2.230.0120.00315.03
7.2.220.0060.00915.10
7.2.210.0000.01314.98
7.2.200.0040.00715.07
7.2.190.0090.00615.09
7.2.180.0080.00815.04
7.2.170.0060.00915.18
7.2.160.0070.01014.93
7.2.150.0140.00316.91
7.2.140.0130.00317.07
7.2.130.0080.00617.09
7.2.120.0070.00816.78
7.2.110.0060.00616.97
7.2.100.0070.00716.83
7.2.90.0000.01316.96
7.2.80.0000.01216.94
7.2.70.0080.00517.05
7.2.60.0040.01016.95
7.2.50.0060.00716.89
7.2.40.0030.00916.80
7.2.30.0040.00917.00
7.2.20.0050.00817.08
7.2.10.0070.00816.93
7.2.00.0040.01017.77
7.1.330.0000.00715.76
7.1.320.0000.01716.03
7.1.310.0040.00815.88
7.1.300.0110.00316.13
7.1.290.0090.00615.77
7.1.280.0070.00715.79
7.1.270.0030.01315.75
7.1.260.0000.01116.05
7.1.250.0050.00515.84
7.1.200.0030.00915.75
7.1.100.0070.00718.36
7.1.70.0060.00316.94
7.1.60.0130.01019.82
7.1.50.0100.01017.02
7.1.00.0030.07022.54
7.0.200.0050.00516.90
7.0.140.0000.07722.13
7.0.60.0030.07320.06
7.0.50.0170.03317.95
7.0.40.0000.04720.20
7.0.30.0230.05020.41
7.0.20.0300.07020.25
7.0.10.0270.05020.38
7.0.00.0030.06020.31
5.6.280.0000.07721.15
5.6.210.0070.07020.86
5.6.200.0070.03718.27
5.6.190.0100.09020.53
5.6.180.4170.04320.56
5.6.170.0330.08020.67
5.6.160.0100.03320.63
5.6.150.0100.05018.26
5.6.140.0100.06718.25
5.6.130.0030.04018.24
5.6.120.0100.08021.16
5.6.110.0170.08021.09
5.6.100.0070.04021.21
5.6.90.0000.04320.99
5.6.80.0070.08020.46
5.6.70.0330.07320.39
5.5.350.0100.04720.50
5.5.340.0070.08018.21
5.5.330.0030.05020.29
5.5.320.0230.04720.50
5.5.310.0430.07020.28
5.5.300.0170.06718.04
5.5.290.0030.06018.02
5.5.280.0000.04320.93
5.5.270.0130.08020.83
5.5.260.0070.03720.91
5.5.250.0030.05720.72
5.5.240.0070.05320.36
5.4.450.0330.06719.37
5.4.440.0430.05319.66
5.4.430.0170.05019.47
5.4.420.0100.06019.47
5.4.410.0200.06019.34
5.4.400.0830.00018.82
5.4.390.1000.00018.79
5.4.380.0300.06018.83
5.4.370.0130.04718.58
5.4.360.0330.04718.55
5.4.350.0270.05318.88
5.4.340.0170.06318.76
5.4.320.0040.03812.65
5.4.310.0050.04112.64
5.4.300.0080.03512.65
5.4.290.0070.03912.64
5.4.280.0090.03512.55
5.4.270.0070.03712.55
5.4.260.0030.05318.89
5.4.250.0170.04718.96
5.4.240.0070.05318.87
5.4.230.0000.06018.96
5.4.220.0070.05718.91
5.4.210.0030.05719.22
5.4.200.0130.06718.86
5.4.190.0070.06318.99
5.4.180.0000.06319.13
5.4.170.0100.07318.84
5.4.160.0130.06318.86
5.4.150.0070.05718.84
5.4.140.0070.05016.67
5.4.130.0030.07716.39
5.4.120.0170.05716.36
5.4.110.0130.07016.56
5.4.100.0070.06016.48
5.4.90.0030.05016.71
5.4.80.0130.04316.69
5.4.70.0070.05016.53
5.4.60.0030.05016.34
5.4.50.0070.04716.48
5.4.40.0070.07016.64
5.4.30.0130.04016.68
5.4.20.0000.05316.72
5.4.10.0070.05016.66
5.4.00.0030.05015.87
5.3.290.0060.04212.91
5.3.280.0100.04714.61
5.3.270.0100.04714.75
5.3.260.0130.04714.67
5.3.250.0070.05714.73
5.3.240.0170.05714.89
5.3.230.0100.05314.75
5.3.220.0130.05314.77
5.3.210.0130.07014.64
5.3.200.0200.06014.81
5.3.190.0070.05014.62
5.3.180.0130.04014.63
5.3.170.0000.05714.77
5.3.160.0030.05314.71
5.3.150.0030.07014.63
5.3.140.0030.05014.70
5.3.130.0100.04714.60
5.3.120.0130.06314.60
5.3.110.0030.05314.70
5.3.100.0130.04014.28
5.3.90.0100.04314.16
5.3.80.0170.04014.15
5.3.70.0070.05014.14
5.3.60.0000.05314.14
5.3.50.0000.05314.09
5.3.40.0130.04314.11
5.3.30.0030.04714.06
5.3.20.0030.05013.93
5.3.10.0030.05013.89
5.3.00.0030.05013.75
5.2.170.0100.03711.27
5.2.160.0030.04011.29
5.2.150.0000.04711.37
5.2.140.0070.04311.42
5.2.130.0130.03311.11
5.2.120.0070.03711.24
5.2.110.0130.03311.25
5.2.100.0030.04010.98
5.2.90.0070.04311.32
5.2.80.0030.04711.12
5.2.70.0000.04711.23
5.2.60.0130.05311.28
5.2.50.0070.04011.13
5.2.40.0030.06011.16
5.2.30.0000.06311.10
5.2.20.0000.04311.13
5.2.10.0070.03310.93
5.2.00.0030.04010.64
5.1.60.0000.03710.09
5.1.50.0070.03310.18
5.1.40.0000.03710.02
5.1.30.0030.04010.42
5.1.20.0000.04310.62
5.1.10.0030.03710.11
5.1.00.0100.03010.13
5.0.50.0030.0308.59
5.0.40.0030.0278.58
5.0.30.0070.0378.38
5.0.20.0030.0278.52
5.0.10.0100.0208.33
5.0.00.0100.0338.32
4.4.90.0030.0306.37
4.4.80.0030.0206.37
4.4.70.0000.0236.37
4.4.60.0000.0236.37
4.4.50.0030.0206.37
4.4.40.0070.0306.37
4.4.30.0030.0206.37
4.4.20.0000.0236.37
4.4.10.0100.0206.37
4.4.00.0070.0306.37
4.3.110.0030.0206.37
4.3.100.0030.0206.37
4.3.90.0000.0206.37
4.3.80.0000.0476.37
4.3.70.0000.0236.37
4.3.60.0030.0176.37
4.3.50.0000.0236.37
4.3.40.0070.0306.37
4.3.30.0030.0276.37
4.3.20.0070.0276.37
4.3.10.0070.0236.37
4.3.00.0000.0239.27

preferences:
41.77 ms | 401 KiB | 5 Q