3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = file_get_contents("https://sitehawk.fogbugz.com/api.asp?token=uhmenccs8r3jpdku5jnihqfu0g4ua1&cmd=listFixFors&ixProject=4"); $xml = new DOMDocument(); $xml->loadXML($response); //$thexml = $xml->getElementsByTagName('area'); $milestone = $xml->getElementsByTagName('fixfor'); $counter = 0; foreach($milestone as $mile){ $counter++; } $i = 0; foreach($milestone as $mile){ $idFixfor = $mile->getElementsByTagName('ixFixFor'); $sFixfor = $mile->getElementsByTagName('sFixFor'); $sFixfordt = $mile->getElementsByTagName('dt'); if($i != $counter-1) { echo $idFixfor->item(0)->nodeValue . '/' . $sFixfor->item(0)->nodeValue . ': ' . date( substr($sFixfordt->item(0)->nodeValue, 0, 10)) . ','; } else { echo $idFixfor->item(0)->nodeValue . '/' . $sFixfor->item(0)->nodeValue . ': ' . date( substr($sFixfordt->item(0)->nodeValue, 0, 10))->format('m-d-Y'); } $i++; }

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.0150.00618.24
8.3.50.0140.00521.98
8.3.40.0150.00018.89
8.3.30.0110.00719.04
8.3.20.0000.00820.34
8.3.10.0040.00422.04
8.3.00.0050.00322.39
8.2.180.0090.00616.75
8.2.170.0100.01022.96
8.2.160.0090.00921.12
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00417.63
8.2.110.0030.00622.29
8.2.100.0120.00017.91
8.2.90.0040.00418.00
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0050.00318.03
8.2.30.0040.00418.02
8.2.20.0040.00417.75
8.2.10.0080.00017.79
8.2.00.0000.01017.80
8.1.280.0080.00825.92
8.1.270.0080.00022.09
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0090.00022.48
8.1.230.0080.00320.85
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0100.00417.23
8.1.190.0030.00517.43
8.1.180.0060.00618.10
8.1.170.0090.00018.59
8.1.160.0000.00722.04
8.1.150.0030.00518.50
8.1.140.0040.00717.50
8.1.130.0030.00317.86
8.1.120.0040.00417.48
8.1.110.0050.00217.51
8.1.100.0040.00417.53
8.1.90.0070.00017.36
8.1.80.0050.00217.39
8.1.70.0070.00017.43
8.1.60.0030.00617.56
8.1.50.0050.00317.55
8.1.40.0000.00817.55
8.1.30.0030.00517.70
8.1.20.0030.00617.73
8.1.10.0000.00817.58
8.1.00.0050.00317.61
8.0.300.0040.00420.15
8.0.290.0060.00317.17
8.0.280.0040.00418.40
8.0.270.0000.00717.23
8.0.260.0030.00316.88
8.0.250.0000.00717.04
8.0.240.0030.00317.05
8.0.230.0030.00316.98
8.0.220.0040.00416.96
8.0.210.0080.00017.01
8.0.200.0050.00317.10
8.0.190.0030.00617.07
8.0.180.0040.00417.08
8.0.170.0050.00316.97
8.0.160.0030.00616.98
8.0.150.0000.00716.88
8.0.140.0040.00416.96
8.0.130.0000.00513.48
8.0.120.0050.00317.02
8.0.110.0000.00816.98
8.0.100.0030.00516.89
8.0.90.0020.00516.96
8.0.80.0070.01017.12
8.0.70.0040.00416.91
8.0.60.0020.00516.96
8.0.50.0000.00816.98
8.0.30.0090.01317.04
8.0.20.0080.01517.40
8.0.10.0070.00017.14
8.0.00.0190.01316.78
7.4.330.0000.00515.20
7.4.320.0040.00416.75
7.4.300.0000.00616.56
7.4.290.0000.00816.59
7.4.280.0000.00716.73
7.4.270.0000.00716.54
7.4.260.0000.00816.63
7.4.250.0040.00416.56
7.4.240.0020.00516.54
7.4.230.0040.00416.74
7.4.220.0120.00916.73
7.4.210.0070.00916.53
7.4.200.0070.00016.70
7.4.190.0030.00316.52
7.4.160.0040.01116.51
7.4.150.0160.00317.40
7.4.140.0180.00517.86
7.4.130.0050.01416.59
7.4.120.0110.00616.73
7.4.110.0100.00716.67
7.4.100.0070.01016.63
7.4.90.0090.00916.48
7.4.80.0050.01319.39
7.4.70.0100.01016.59
7.4.60.0060.00916.50
7.4.50.0020.00216.73
7.4.40.0000.01322.77
7.4.30.0080.00816.65
7.4.00.0040.01115.11
7.3.330.0050.00013.25
7.3.320.0000.00613.20
7.3.310.0030.00316.43
7.3.300.0000.00716.45
7.3.290.0030.01216.43
7.3.280.0060.01116.43
7.3.270.0180.00617.40
7.3.260.0090.00916.23
7.3.250.0130.00516.38
7.3.240.0060.01216.64
7.3.230.0090.00916.55
7.3.210.0030.01316.43
7.3.200.0140.00819.39
7.3.190.0150.00916.50
7.3.180.0150.00616.39
7.3.170.0170.00416.39
7.3.160.0060.00916.54
7.3.120.0070.00914.86
7.3.10.0030.00916.57
7.3.00.0070.00816.68
7.2.330.0070.01116.59
7.2.320.0120.01216.47
7.2.310.0050.01816.79
7.2.300.0140.00316.45
7.2.290.0110.00716.52
7.2.130.0050.01016.98
7.2.120.0020.01016.78
7.2.110.0080.00616.94
7.2.100.0080.00416.88
7.2.90.0050.00816.99
7.2.80.0110.00316.84
7.2.70.0100.01116.88
7.2.60.0060.00716.84
7.2.50.0080.00616.85
7.2.40.0020.00916.73
7.2.30.0030.01116.90
7.2.20.0040.00716.90
7.2.10.0070.00516.82
7.2.00.0060.00617.61
7.1.250.0070.00515.60
7.1.200.0000.00915.64
7.1.100.0040.00818.40
7.1.70.0030.00817.37
7.1.60.0000.02519.82
7.1.50.0100.01017.14
7.1.00.0100.07022.67
7.0.200.0030.00616.69
7.0.140.0100.06722.31
7.0.100.0130.07320.40
7.0.90.0130.08320.42
7.0.80.0030.06020.43
7.0.70.0100.04320.30
7.0.60.0100.07720.17
7.0.50.0370.06320.57
7.0.40.0030.08720.30
7.0.30.0070.08320.52
7.0.20.0070.08320.55
7.0.10.0030.04320.29
7.0.00.0000.05720.52
5.6.280.0030.07721.32
5.6.250.0100.04720.99
5.6.240.0130.03320.99
5.6.230.0130.06020.93
5.6.220.0170.07320.95
5.6.210.0130.03720.84
5.6.200.0130.07321.46
5.6.190.0070.04721.26
5.6.180.0000.07721.50
5.6.170.0070.04721.24
5.6.160.0100.05321.25
5.6.150.0070.09321.40
5.6.140.0100.04021.49
5.6.130.0030.05321.51
5.6.120.0070.04721.39
5.6.110.0100.08021.34
5.6.100.0070.08321.49
5.6.90.0070.05021.39
5.6.80.0070.08020.76
5.6.70.0000.05320.91
5.6.60.0100.06020.69
5.6.50.0100.05720.89
5.6.40.0070.04020.84
5.6.30.0100.03320.73
5.6.20.0000.04020.84
5.6.10.0030.04020.89
5.6.00.0030.07020.71
5.5.380.0070.04020.97
5.5.370.0030.04720.91
5.5.360.0030.08720.64
5.5.350.0070.07720.82
5.5.340.0200.06721.04
5.5.330.0200.04021.31
5.5.320.0070.08021.35
5.5.310.0130.06721.25
5.5.300.0070.08021.18
5.5.290.0100.08021.27
5.5.280.0070.05021.20
5.5.270.0230.02721.27
5.5.260.0100.04321.19
5.5.250.0100.04720.97
5.5.240.0030.04020.64
5.5.230.0070.04020.66
5.5.220.0070.04320.61
5.5.210.0030.08320.68
5.5.200.0100.06320.55
5.5.190.0170.06320.55
5.5.180.0030.04320.55
5.5.160.0130.07020.60
5.5.150.0070.03720.57
5.5.140.0130.07020.54
5.5.130.0100.06720.57
5.5.120.0070.05320.59
5.5.110.0070.03320.54
5.5.100.0000.04320.35
5.5.90.0030.04020.35
5.5.80.0000.09020.50
5.5.70.0070.04720.43
5.5.60.0030.03720.36
5.5.50.0130.07020.27
5.5.40.0100.03720.49
5.5.30.0130.07320.41
5.5.20.0130.06720.53
5.5.10.0070.04720.33
5.5.00.0070.07320.54
5.4.450.0130.03719.89
5.4.440.0030.08019.69
5.4.430.0030.08019.68
5.4.420.0000.05719.58
5.4.410.0000.05719.79
5.4.400.0070.07719.39
5.4.390.0030.05719.29
5.4.380.0070.03319.40
5.4.370.0030.08019.51
5.4.360.0070.03719.57
5.4.350.0030.04719.39
5.4.340.0070.04019.41
5.4.320.0030.03719.40
5.4.310.0000.04019.50
5.4.300.0100.07719.56
5.4.290.0070.03319.48
5.4.280.0070.06719.40
5.4.270.0070.03319.44
5.4.260.0030.06319.26
5.4.250.0070.03319.25
5.4.240.0070.07019.16
5.4.230.0070.06719.46
5.4.220.0070.03719.25
5.4.210.0030.05719.43
5.4.200.0070.04019.29
5.4.190.0030.04019.44
5.4.180.0070.04019.15
5.4.170.0070.06719.55
5.4.160.0030.04319.23
5.4.150.0100.04019.47
5.4.140.0130.05716.35
5.4.130.0000.07716.26
5.4.120.0100.03716.28
5.4.110.0070.06716.34
5.4.100.0070.07316.32
5.4.90.0000.06016.42
5.4.80.0130.06316.41
5.4.70.0030.06316.42
5.4.60.0070.07016.38
5.4.50.0030.05716.38
5.4.40.0130.06316.34
5.4.30.0000.03716.27
5.4.20.0070.06316.18
5.4.10.0070.06016.34
5.4.00.0030.05315.75
5.3.290.0070.04314.66
5.3.280.0030.04014.47
5.3.270.0030.07714.48
5.3.260.0100.06314.62
5.3.250.0100.07314.56
5.3.240.0070.04714.63
5.3.230.0070.04014.55
5.3.220.0030.05014.49
5.3.210.0030.07314.53
5.3.200.0070.07314.54
5.3.190.0030.03714.59
5.3.180.0030.06014.46
5.3.170.0030.07314.48
5.3.160.0000.03714.56
5.3.150.0000.03714.40
5.3.140.0100.06314.39
5.3.130.0000.04014.55
5.3.120.0070.03714.55
5.3.110.0070.07714.47
5.3.100.0070.08013.87
5.3.90.0070.06313.86
5.3.80.0130.06013.79
5.3.70.0030.04313.89
5.3.60.0100.06713.98
5.3.50.0100.06013.91
5.3.40.0070.07313.82
5.3.30.0100.05013.91
5.3.20.0000.07713.66
5.3.10.0000.04313.65
5.3.00.0070.07013.63
5.2.170.0030.06311.08
5.2.160.0000.03711.16
5.2.150.0030.06010.99
5.2.140.0100.02311.18
5.2.130.0070.05711.16
5.2.120.0070.03010.91
5.2.110.0070.02311.17
5.2.100.0000.04711.11
5.2.90.0000.03710.91
5.2.80.0030.06311.10
5.2.70.0030.05311.18
5.2.60.0030.06011.13
5.2.50.0000.05010.99
5.2.40.0030.05710.84
5.2.30.0000.06310.86
5.2.20.0030.04710.75
5.2.10.0030.03710.57
5.2.00.0070.02310.75
5.1.60.0000.03010.01
5.1.50.0000.03010.01
5.1.40.0000.02710.05
5.1.30.0030.02310.28
5.1.20.0030.04310.39
5.1.10.0030.04010.11
5.1.00.0000.02310.07
5.0.50.0030.0208.59
5.0.40.0070.0408.47
5.0.30.0000.0638.24
5.0.20.0070.0408.28
5.0.10.0000.0478.18
5.0.00.0070.0478.27
4.4.90.0070.0177.29
4.4.80.0000.0277.29
4.4.70.0030.0337.29
4.4.60.0030.0137.29
4.4.50.0000.0207.29
4.4.40.0100.0207.29
4.4.30.0030.0137.29
4.4.20.0030.0277.29
4.4.10.0000.0177.29
4.4.00.0030.0237.29
4.3.110.0000.0377.29
4.3.100.0030.0237.29
4.3.90.0000.0207.29
4.3.80.0000.0577.29
4.3.70.0100.0177.29
4.3.60.0070.0307.29
4.3.50.0130.0277.29
4.3.40.0000.0537.29
4.3.30.0000.0277.29
4.3.20.0070.0207.29
4.3.10.0000.0377.29
4.3.00.0000.0407.29

preferences:
47.74 ms | 401 KiB | 5 Q