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.0040.01118.93
8.3.50.0140.00622.17
8.3.40.0160.00319.00
8.3.30.0120.00319.31
8.3.20.0090.00020.55
8.3.10.0060.00322.39
8.3.00.0040.00422.65
8.2.180.0070.01416.75
8.2.170.0060.00922.96
8.2.160.0030.01020.80
8.2.150.0040.00424.18
8.2.140.0110.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00419.61
8.2.110.0110.00021.31
8.2.100.0040.00718.09
8.2.90.0000.00919.42
8.2.80.0000.00818.18
8.2.70.0000.00917.75
8.2.60.0000.00818.18
8.2.50.0080.00018.07
8.2.40.0040.00418.34
8.2.30.0050.00218.48
8.2.20.0000.00717.86
8.2.10.0030.00617.91
8.2.00.0040.00417.86
8.1.280.0130.00625.92
8.1.270.0050.00322.27
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00319.25
8.1.230.0120.00019.21
8.1.220.0050.00318.03
8.1.210.0000.00818.77
8.1.200.0040.00717.35
8.1.190.0000.00817.63
8.1.180.0030.00518.95
8.1.170.0050.00318.75
8.1.160.0070.00322.18
8.1.150.0000.00718.97
8.1.140.0060.00317.64
8.1.130.0000.00718.03
8.1.120.0030.00517.63
8.1.110.0050.00317.56
8.1.100.0040.00417.58
8.1.90.0000.00717.75
8.1.80.0040.00417.55
8.1.70.0030.00317.71
8.1.60.0000.00817.87
8.1.50.0000.00817.73
8.1.40.0030.00617.71
8.1.30.0040.00417.85
8.1.20.0000.00817.88
8.1.10.0040.00417.57
8.1.00.0050.00317.55
8.0.300.0000.00718.77
8.0.290.0030.00617.30
8.0.280.0000.00718.52
8.0.270.0050.00317.39
8.0.260.0000.00717.04
8.0.250.0030.00317.29
8.0.240.0070.00017.13
8.0.230.0040.00417.11
8.0.220.0070.00017.21
8.0.210.0000.00717.20
8.0.200.0030.00317.09
8.0.190.0000.00717.30
8.0.180.0000.00717.23
8.0.170.0000.00817.07
8.0.160.0050.00317.08
8.0.150.0000.00717.14
8.0.140.0000.00717.06
8.0.130.0030.00313.64
8.0.120.0080.00017.20
8.0.110.0040.00417.13
8.0.100.0080.00016.98
8.0.90.0040.00417.22
8.0.80.0130.00717.22
8.0.70.0000.00717.02
8.0.60.0000.00817.23
8.0.50.0000.00717.14
8.0.30.0120.00717.31
8.0.20.0080.00917.45
8.0.10.0040.00417.16
8.0.00.0160.01417.08
7.4.330.0040.00415.00
7.4.320.0030.00316.87
7.4.300.0070.00016.80
7.4.290.0000.01116.84
7.4.280.0000.00716.84
7.4.270.0030.00316.91
7.4.260.0040.00416.67
7.4.250.0060.00316.65
7.4.240.0050.00216.68
7.4.230.0040.00416.82
7.4.220.0070.01016.66
7.4.210.0080.00716.87
7.4.200.0000.00716.66
7.4.190.0050.00217.00
7.4.160.0130.00316.64
7.4.150.0240.00017.40
7.4.140.0160.00617.86
7.4.130.0120.00716.66
7.4.120.0090.00916.66
7.4.110.0090.00916.79
7.4.100.0120.01116.67
7.4.90.0080.00916.84
7.4.80.0090.01219.39
7.4.70.0070.01016.70
7.4.60.0150.00616.65
7.4.50.0080.00016.43
7.4.40.0110.00722.77
7.4.30.0130.00316.71
7.4.00.0070.01114.99
7.3.330.0000.00613.48
7.3.320.0000.00513.52
7.3.310.0000.00716.33
7.3.300.0060.00016.54
7.3.290.0070.00716.52
7.3.280.0120.00716.55
7.3.270.0100.01317.40
7.3.260.0140.00316.57
7.3.250.0110.00616.63
7.3.240.0110.00616.80
7.3.230.0100.00616.74
7.3.210.0110.00616.50
7.3.200.0080.00816.55
7.3.190.0160.00616.47
7.3.180.0060.00916.57
7.3.170.0080.01216.51
7.3.160.0040.01216.61
7.3.120.0030.01414.55
7.3.10.0120.00516.41
7.3.00.0210.00016.39
7.2.330.0110.00716.92
7.2.320.0070.01116.63
7.2.310.0070.01016.76
7.2.300.0070.01116.55
7.2.290.0080.00816.77
7.2.130.0030.01216.40
7.2.120.0150.00716.51
7.2.110.0000.01416.79
7.2.100.0000.01616.80
7.2.90.0230.00316.74
7.2.80.0080.00816.90
7.2.70.0080.00416.71
7.2.60.0080.00516.96
7.2.50.0180.00716.69
7.2.40.0140.00716.71
7.2.30.0160.00317.09
7.2.20.0150.01216.59
7.2.10.0120.00616.57
7.2.00.0100.00818.24
7.1.250.0120.00815.61
7.1.200.0030.00915.92
7.1.100.0100.00718.21
7.1.70.0100.00317.26
7.1.60.0100.01019.82
7.1.50.0100.01017.00
7.1.00.0100.07022.54
7.0.200.0040.00416.54
7.0.140.0030.07022.19
7.0.60.0130.07720.13
7.0.50.0130.06718.05
7.0.40.0070.04020.16
7.0.30.0200.08020.32
7.0.20.0330.07320.18
7.0.10.0270.05320.25
7.0.00.0070.04020.27
5.6.210.0170.04720.68
5.6.200.0130.08018.30
5.6.190.0170.07720.57
5.6.180.3170.05320.49
5.6.170.0270.04320.53
5.6.160.0070.03720.69
5.6.150.0200.04318.23
5.6.140.0000.04018.21
5.6.130.0070.04018.38
5.6.120.0100.08021.00
5.6.110.0000.05721.12
5.6.100.0100.08321.18
5.6.90.0100.03720.99
5.6.80.0170.06020.56
5.6.70.0300.06020.41
5.5.350.0030.08720.39
5.5.340.0170.06718.05
5.5.330.0030.04320.61
5.5.320.0070.05020.48
5.5.310.0230.08320.38
5.5.300.0100.03318.22
5.5.290.0170.07018.15
5.5.280.0070.03720.91
5.5.270.0070.07020.99
5.5.260.0070.08020.93
5.5.250.0130.07320.63
5.5.240.0100.07020.14
5.4.450.0170.07019.46
5.4.440.0270.04719.37
5.4.430.0570.05719.54
5.4.420.0530.04319.54
5.4.410.0370.06019.42
5.4.400.0870.00018.82
5.4.390.1030.00018.79
5.4.380.0370.05018.79
5.4.370.0330.05318.58
5.4.360.0330.04318.86
5.4.350.0330.06318.82
5.4.340.0330.05018.96
5.4.320.0050.03912.65
5.4.310.0080.04612.64
5.4.300.0060.04912.64
5.4.290.0070.04512.64
5.4.280.0050.03712.54
5.4.270.0050.03712.55
5.4.260.0030.05718.96
5.4.250.0070.05318.87
5.4.240.0030.06319.13
5.4.230.0030.05718.87
5.4.220.0000.07019.22
5.4.210.0100.05018.99
5.4.200.0030.05719.01
5.4.190.0070.05018.86
5.4.180.0000.05718.86
5.4.170.0100.05018.85
5.4.160.0030.05318.95
5.4.150.0130.05318.75
5.4.140.0070.05716.43
5.4.130.0100.07316.39
5.4.120.0100.07016.71
5.4.110.0230.06016.57
5.4.100.0230.05016.71
5.4.90.0200.05016.75
5.4.80.0070.04716.46
5.4.70.0000.05316.34
5.4.60.0000.05316.65
5.4.50.0100.04316.30
5.4.40.0130.04016.68
5.4.30.0070.04716.72
5.4.20.0070.04716.40
5.4.10.0200.06016.55
5.4.00.0070.04716.08
5.3.290.0080.04112.91
5.3.280.0130.04714.70
5.3.270.0130.04714.65
5.3.260.0100.05714.50
5.3.250.0030.05714.73
5.3.240.0100.06314.72
5.3.230.0030.05714.65
5.3.220.0000.05714.46
5.3.210.0130.07314.62
5.3.200.0070.05014.59
5.3.190.0070.05714.83
5.3.180.0070.05314.78
5.3.170.0030.05314.80
5.3.160.0130.04714.61
5.3.150.0100.04714.63
5.3.140.0130.05314.84
5.3.130.0070.05014.83
5.3.120.0070.05014.45
5.3.110.0100.04714.58
5.3.100.0100.04313.93
5.3.90.0070.05314.06
5.3.80.0130.04314.17
5.3.70.0100.04714.08
5.3.60.0170.04314.15
5.3.50.0000.07714.00
5.3.40.0230.04313.96
5.3.30.0070.07014.15
5.3.20.0130.04313.84
5.3.10.0000.05313.71
5.3.00.0030.05313.53
5.2.170.0070.04011.29
5.2.160.0070.04011.21
5.2.150.0100.04011.43
5.2.140.0030.04311.29
5.2.130.0100.04310.99
5.2.120.0130.03011.33
5.2.110.0000.04711.34
5.2.100.0130.03311.11
5.2.90.0070.04310.99
5.2.80.0030.06311.11
5.2.70.0030.04311.23
5.2.60.0100.05311.33
5.2.50.0130.03311.13
5.2.40.0070.04011.11
5.2.30.0070.06011.02
5.2.20.0070.04711.00
5.2.10.0000.04310.90
5.2.00.0100.03310.64
5.1.60.0000.04010.13
5.1.50.0070.03010.04
5.1.40.0070.03010.12
5.1.30.0070.03310.60
5.1.20.0030.05310.66
5.1.10.0030.03710.13
5.1.00.0100.04710.22
5.0.50.0070.0378.83
5.0.40.0070.0238.59
5.0.30.0070.0578.27
5.0.20.0030.0278.34
5.0.10.0130.0278.32
5.0.00.0000.0478.45
4.4.90.0070.0175.82
4.4.80.0000.0275.82
4.4.70.0130.0205.79
4.4.60.0070.0175.78
4.4.50.0070.0175.78
4.4.40.0000.0405.86
4.4.30.0000.0235.84
4.4.20.0030.0235.82
4.4.10.0030.0205.83
4.4.00.0100.0275.84
4.3.110.0000.0305.71
4.3.100.0070.0175.80
4.3.90.0000.0235.67
4.3.80.0030.0305.71
4.3.70.0070.0175.68
4.3.60.0070.0175.70
4.3.50.0030.0305.75
4.3.40.0030.0305.67
4.3.30.0000.0305.43
4.3.20.0000.0275.43
4.3.10.0000.0275.43
4.3.00.0000.0239.25

preferences:
37.16 ms | 401 KiB | 5 Q