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); $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.0090.00616.73
8.3.50.0360.00622.04
8.3.40.0150.00018.82
8.3.30.0110.00419.00
8.3.20.0050.00220.68
8.3.10.0030.00623.64
8.3.00.0080.00020.04
8.2.180.0070.00718.91
8.2.170.0040.01122.96
8.2.160.0100.01020.41
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00319.30
8.2.120.0040.00426.35
8.2.110.0090.00020.77
8.2.100.0090.00319.77
8.2.90.0030.00518.16
8.2.80.0030.00620.83
8.2.70.0030.00617.93
8.2.60.0060.00317.50
8.2.50.0080.00017.63
8.2.40.0000.00821.21
8.2.30.0000.00720.93
8.2.20.0030.00617.89
8.2.10.0040.00418.25
8.2.00.0040.00418.19
8.1.280.0180.00325.92
8.1.270.0030.00618.95
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0080.00024.07
8.1.230.0090.00621.13
8.1.220.0030.00517.91
8.1.210.0000.00918.79
8.1.200.0080.00017.47
8.1.190.0000.01117.47
8.1.180.0040.00418.10
8.1.170.0040.00419.16
8.1.160.0070.00020.86
8.1.150.0050.00219.01
8.1.140.0030.00519.71
8.1.130.0000.00717.77
8.1.120.0050.00317.57
8.1.110.0050.00317.59
8.1.100.0000.00717.50
8.1.90.0070.00017.63
8.1.80.0060.00317.58
8.1.70.0040.00417.53
8.1.60.0050.00317.65
8.1.50.0000.00817.61
8.1.40.0080.00017.61
8.1.30.0000.00817.69
8.1.20.0050.00217.68
8.1.10.0040.00417.58
8.1.00.0040.00417.50
8.0.300.0040.00420.21
8.0.290.0050.00317.00
8.0.280.0040.00418.62
8.0.270.0060.00317.45
8.0.260.0000.00617.51
8.0.250.0030.00317.13
8.0.240.0040.00417.19
8.0.230.0000.00717.16
8.0.220.0040.00417.18
8.0.210.0040.00417.02
8.0.200.0030.00317.13
8.0.190.0050.00217.10
8.0.180.0070.00017.20
8.0.170.0000.00717.10
8.0.160.0000.00716.98
8.0.150.0000.00717.19
8.0.140.0040.00417.02
8.0.130.0030.00313.65
8.0.120.0060.00317.10
8.0.110.0040.00417.22
8.0.100.0040.00417.17
8.0.90.0000.00717.14
8.0.80.0070.01017.24
8.0.70.0080.00017.05
8.0.60.0000.00817.16
8.0.50.0000.00717.28
8.0.30.0160.00717.26
8.0.20.0190.00517.40
8.0.10.0030.00517.14
8.0.00.0090.00916.92
7.4.330.0020.00217.16
7.4.320.0000.00716.66
7.4.300.0000.00716.56
7.4.290.0040.00416.67
7.4.280.0040.00416.50
7.4.270.0070.00016.59
7.4.260.0000.00716.58
7.4.250.0040.00416.74
7.4.240.0060.00216.68
7.4.230.0050.00216.74
7.4.220.0140.00616.71
7.4.210.0060.00916.70
7.4.200.0040.00416.54
7.4.160.0120.00916.68
7.4.150.0150.00317.40
7.4.140.0170.00617.86
7.4.130.0090.00916.65
7.4.120.0090.01116.72
7.4.110.0120.00616.61
7.4.100.0060.01216.58
7.4.90.0130.01016.83
7.4.80.0160.00719.39
7.4.70.0120.00916.78
7.4.60.0070.01116.60
7.4.50.0070.00716.82
7.4.40.0060.01016.54
7.4.30.0090.00916.66
7.4.00.0080.00815.01
7.3.330.0000.00613.46
7.3.320.0030.00313.34
7.3.310.0000.00816.61
7.3.300.0040.00416.45
7.3.290.0070.00816.54
7.3.280.0080.00816.44
7.3.270.0090.00917.40
7.3.260.0160.01116.59
7.3.250.0130.00716.48
7.3.240.0130.00716.36
7.3.230.0060.01316.62
7.3.210.0130.01016.58
7.3.200.0120.00616.34
7.3.190.0070.01016.54
7.3.180.0100.01416.38
7.3.170.0090.01516.48
7.3.160.0120.00916.53
7.2.330.0040.01416.94
7.2.320.0130.01016.86
7.2.310.0060.01216.65
7.2.300.0140.00316.70
7.2.290.0120.00616.75
7.2.60.0070.00716.71
7.2.00.0040.01119.47
7.1.200.0080.00816.09
7.1.100.0030.01018.55
7.1.70.0040.00417.48
7.1.60.0110.01519.50
7.1.50.0110.01117.00
7.1.00.0030.08022.76
7.0.200.0060.00316.72
7.0.60.0030.08320.44
7.0.50.0170.03318.14
7.0.40.0070.05020.58
7.0.30.0200.04720.52
7.0.20.0200.05720.52
7.0.10.0130.08720.52
7.0.00.0200.07320.48
5.6.280.0000.03321.46
5.6.210.0100.08020.79
5.6.200.0170.07718.62
5.6.190.0100.06721.02
5.6.180.0430.07721.06
5.6.170.0270.03720.82
5.6.160.0030.08720.86
5.6.150.0100.06318.60
5.6.140.0030.04318.54
5.6.130.0070.05018.52
5.6.120.0130.08321.44
5.6.110.0100.08021.43
5.6.100.0030.09021.27
5.6.90.0170.07321.44
5.6.80.0100.06720.90
5.5.350.0030.08320.86
5.5.340.0170.07318.44
5.5.330.0030.08720.88
5.5.320.0070.07020.69
5.5.310.0230.03320.61
5.5.300.0130.06018.43
5.5.290.0070.06018.53
5.5.280.0030.04021.07
5.5.270.0100.07721.00
5.5.260.0100.07021.04
5.5.250.0070.05321.10
5.5.240.0270.06320.79

preferences:
39.19 ms | 401 KiB | 5 Q