3v4l.org

run code in 300+ PHP versions simultaneously
<?php $context = stream_context_create(array('http' => array('header' => 'Accept: application/xml'))); $url = 'http://mp3.zing.vn/xml/album-xml/kHJmTZmaVRFQkCstkbJtDnLn'; $xml = file_get_contents($url, false, $context); $xml = simplexml_load_string($xml); print_r($xml);

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.0110.00416.63
8.3.50.0330.00522.05
8.3.40.0090.00618.90
8.3.30.0160.00318.84
8.3.20.0030.00520.49
8.3.10.0000.00923.85
8.3.00.0080.00020.10
8.2.180.0070.00718.77
8.2.170.0090.00922.96
8.2.160.0100.00320.60
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00421.30
8.2.120.0030.00526.35
8.2.110.0040.00420.70
8.2.100.0040.00818.13
8.2.90.0060.00319.32
8.2.80.0000.00817.97
8.2.70.0030.00517.75
8.2.60.0030.00618.05
8.2.50.0050.00318.07
8.2.40.0050.00321.26
8.2.30.0070.00020.82
8.2.20.0000.00917.71
8.2.10.0000.00818.23
8.2.00.0040.00418.13
8.1.280.0100.01025.92
8.1.270.0060.00318.95
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0030.00622.39
8.1.230.0060.00617.66
8.1.220.0080.00017.91
8.1.210.0030.00518.77
8.1.200.0030.00617.48
8.1.190.0000.00817.65
8.1.180.0040.00418.10
8.1.170.0050.00318.74
8.1.160.0040.00420.86
8.1.150.0040.00419.07
8.1.140.0000.00719.63
8.1.130.0030.00317.89
8.1.120.0000.00717.50
8.1.110.0040.00417.52
8.1.100.0040.00417.50
8.1.90.0040.00417.57
8.1.80.0000.00817.53
8.1.70.0050.00317.47
8.1.60.0030.00617.69
8.1.50.0060.00317.65
8.1.40.0000.00917.60
8.1.30.0040.00417.79
8.1.20.0040.00417.70
8.1.10.0000.00917.75
8.1.00.0030.00617.54
8.0.300.0040.00418.77
8.0.290.0040.00416.99
8.0.280.0000.00818.60
8.0.270.0000.01017.36
8.0.260.0030.00317.44
8.0.250.0030.00317.14
8.0.240.0040.00417.14
8.0.230.0000.00717.17
8.0.220.0030.00517.17
8.0.210.0000.00717.16
8.0.200.0000.00817.23
8.0.190.0080.00017.10
8.0.180.0030.00517.12
8.0.170.0040.00417.14
8.0.160.0030.00317.25
8.0.150.0000.00816.99
8.0.140.0080.00416.96
8.0.130.0060.00013.48
8.0.120.0060.00317.15
8.0.110.0000.00817.07
8.0.100.0050.00317.19
8.0.90.0040.00417.14
8.0.80.0110.00717.16
8.0.70.0080.00017.03
8.0.60.0080.00017.16
8.0.50.0070.00017.10
8.0.30.0090.01117.38
8.0.20.0120.01217.40
8.0.10.0000.00717.30
8.0.00.0150.00416.95
7.4.330.0000.00517.06
7.4.320.0040.00416.79
7.4.300.0000.00816.74
7.4.290.0000.00716.60
7.4.280.0030.00516.60
7.4.270.0030.00316.62
7.4.260.0040.00416.68
7.4.250.0000.00816.63
7.4.240.0020.00616.71
7.4.230.0000.00716.80
7.4.220.0030.01616.73
7.4.210.0120.00616.71
7.4.200.0000.00716.79
7.4.160.0120.00616.64
7.4.150.0110.01117.40
7.4.140.0090.01617.86
7.4.130.0080.01316.64
7.4.120.0100.00916.67
7.4.110.0090.01316.59
7.4.100.0070.01116.68
7.4.90.0220.00316.61
7.4.80.0030.01419.39
7.4.70.0120.00916.61
7.4.60.0130.00416.68
7.4.50.0070.00716.59
7.4.40.0100.00716.66
7.4.30.0060.01116.66
7.4.00.0060.00915.38
7.3.330.0030.00313.51
7.3.320.0000.00613.46
7.3.310.0000.00816.68
7.3.300.0030.00316.55
7.3.290.0120.00616.48
7.3.280.0120.00416.53
7.3.270.0160.00717.40
7.3.260.0100.01216.36
7.3.250.0120.00716.39
7.3.240.0070.01316.62
7.3.230.0090.00916.50
7.3.210.0090.01516.71
7.3.200.0090.00916.53
7.3.190.0120.00916.56
7.3.180.0130.01016.38
7.3.170.0120.01116.67
7.3.160.0100.00716.61
7.2.330.0130.00616.87
7.2.320.0040.01516.60
7.2.310.0090.00916.89
7.2.300.0060.01116.91
7.2.290.0150.00316.49
7.2.60.0070.00717.16
7.2.00.0030.01219.73
7.1.200.0070.00316.05
7.1.100.0000.01618.50
7.1.70.0030.00717.61
7.1.60.0140.01119.50
7.1.50.0100.01317.16
7.1.00.0030.07722.76
7.0.200.0000.01117.06
7.0.60.0200.07722.04
7.0.50.0000.04318.38
7.0.40.0070.04720.57
7.0.30.0270.04020.45
7.0.20.0230.08020.47
7.0.10.0030.04320.54
7.0.00.0000.04720.52
5.6.280.0070.03021.30
5.6.210.0130.08021.18
5.6.200.0070.07318.38
5.6.190.0170.06721.05
5.6.180.0200.08321.04
5.6.170.0400.07320.86
5.6.160.0100.05020.83
5.6.150.0130.08018.73
5.6.140.0100.06718.39
5.6.130.0070.08018.73
5.6.120.0030.07721.25
5.6.110.0130.08021.43
5.6.100.0100.07721.50
5.6.90.0030.04321.37
5.6.80.0030.04020.70
5.5.350.0200.04020.75
5.5.340.0100.06018.32
5.5.330.0100.05320.86
5.5.320.0300.06320.63
5.5.310.0270.04320.67
5.5.300.0070.04018.34
5.5.290.0100.06018.33
5.5.280.0130.05021.01
5.5.270.0070.08021.02
5.5.260.0100.08021.23
5.5.250.0030.07721.11
5.5.240.0230.07320.63

preferences:
52.41 ms | 401 KiB | 5 Q