3v4l.org

run code in 300+ PHP versions simultaneously
<?php function curl_get_contents($url) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); $data = curl_exec($ch); curl_close($ch); return $data; } $url = 'http://mp3.zing.vn/xml/album-xml/kHJmTZmaVRFQkCstkbJtDnLn'; $json = json_decode(curl_get_contents($url)); print_r($json);

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.0100.00716.63
8.3.50.0140.01021.86
8.3.40.0140.00418.56
8.3.30.0090.00618.75
8.3.20.0030.00620.37
8.3.10.0030.01023.38
8.3.00.0040.00419.97
8.2.180.0140.00425.92
8.2.170.0070.01422.96
8.2.160.0110.00319.46
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00919.29
8.2.120.0040.00426.35
8.2.110.0060.00320.35
8.2.100.0060.00618.04
8.2.90.0040.00419.27
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0080.00017.89
8.2.50.0060.00318.07
8.2.40.0070.00021.11
8.2.30.0040.00420.55
8.2.20.0050.00217.70
8.2.10.0030.00518.19
8.2.00.0030.00618.00
8.1.280.0070.00725.92
8.1.270.0000.00918.92
8.1.260.0000.00728.09
8.1.250.0000.00728.09
8.1.240.0030.00624.00
8.1.230.0030.00817.52
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0000.00720.59
8.1.150.0020.00518.94
8.1.140.0080.00019.52
8.1.130.0030.00317.54
8.1.120.0000.00717.43
8.1.110.0040.00417.38
8.1.100.0000.00717.37
8.1.90.0030.00517.43
8.1.80.0000.00717.43
8.1.70.0050.00317.38
8.1.60.0050.00317.65
8.1.50.0000.00917.57
8.1.40.0040.00417.44
8.1.30.0040.00417.65
8.1.20.0040.00417.67
8.1.10.0060.00317.54
8.1.00.0040.00417.44
8.0.300.0050.00318.77
8.0.290.0000.00716.63
8.0.280.0030.00518.35
8.0.270.0070.00017.20
8.0.260.0000.00717.28
8.0.250.0030.00316.85
8.0.240.0000.00716.97
8.0.230.0050.00216.97
8.0.220.0000.00816.96
8.0.210.0070.00016.91
8.0.200.0030.00316.88
8.0.190.0000.00816.95
8.0.180.0000.00716.82
8.0.170.0040.00416.95
8.0.160.0050.00316.80
8.0.150.0000.00716.87
8.0.140.0030.00716.76
8.0.130.0030.00313.25
8.0.120.0040.00416.94
8.0.110.0040.00416.93
8.0.100.0050.00216.85
8.0.90.0040.00416.96
8.0.80.0110.00616.92
8.0.70.0000.00716.70
8.0.60.0040.00416.87
8.0.50.0040.00416.90
8.0.30.0050.01317.23
8.0.20.0030.01517.42
8.0.10.0040.00417.08
8.0.00.0120.00516.63
7.4.330.0000.00516.76
7.4.320.0000.00616.53
7.4.300.0030.00316.64
7.4.290.0050.00316.50
7.4.280.0000.00816.61
7.4.270.0040.00416.60
7.4.260.0040.00416.62
7.4.250.0050.00316.61
7.4.240.0050.00216.58
7.4.230.0030.00516.38
7.4.220.0100.01016.59
7.4.210.0060.00716.70
7.4.200.0000.00716.64
7.4.160.0060.01016.47
7.4.150.0110.00717.40
7.4.140.0090.01217.86
7.4.130.0060.01216.57
7.4.120.0100.00616.50
7.4.110.0090.00916.66
7.4.100.0120.01216.62
7.4.90.0140.01116.48
7.4.80.0110.00819.39
7.4.70.0060.01116.63
7.4.60.0000.01616.57
7.4.50.0090.00616.61
7.4.40.0080.01316.70
7.4.30.0080.00816.56
7.4.00.0130.00315.18
7.3.330.0000.00613.28
7.3.320.0000.00513.33
7.3.310.0070.00016.22
7.3.300.0030.00316.26
7.3.290.0060.01016.33
7.3.280.0050.01216.32
7.3.270.0100.00717.40
7.3.260.0090.01516.51
7.3.250.0110.00816.41
7.3.240.0120.00716.20
7.3.230.0130.00316.39
7.3.210.0150.00316.35
7.3.200.0070.00916.61
7.3.190.0120.00916.64
7.3.180.0110.00616.39
7.3.170.0070.01416.41
7.3.160.0080.00916.54
7.2.330.0030.02016.45
7.2.320.0140.00416.58
7.2.310.0070.01116.31
7.2.300.0030.01416.36
7.2.290.0050.01116.70
7.2.60.0070.00716.72
7.2.00.0030.01019.07
7.1.200.0030.00615.80
7.1.100.0080.00318.17
7.1.70.0050.00317.14
7.1.60.0100.01319.50
7.1.50.0070.01416.66
7.1.00.0030.07722.43
7.0.200.0030.00616.72
7.0.60.0000.08720.01
7.0.50.0070.06017.95
7.0.40.0100.07720.14
7.0.30.0170.04320.27
7.0.20.0200.04320.09
7.0.10.0130.08020.26
7.0.00.0070.03720.33
5.6.280.0030.04721.08
5.6.210.0030.04020.71
5.6.200.0130.08318.16
5.6.190.0070.05720.47
5.6.180.0330.04320.55
5.6.170.0270.08320.57
5.6.160.0000.09020.57
5.6.150.0000.08718.29
5.6.140.0000.09318.18
5.6.130.0070.05018.27
5.6.120.0100.08021.03
5.6.110.0070.08321.12
5.6.100.0070.08320.98
5.6.90.0000.04321.01
5.6.80.0100.07320.51
5.5.350.0070.04320.33
5.5.340.0030.07017.98
5.5.330.0030.04320.27
5.5.320.0000.08320.32
5.5.310.0230.03320.24
5.5.300.0030.08317.95
5.5.290.0070.08317.96
5.5.280.0000.05020.66
5.5.270.0130.05020.84
5.5.260.0130.07720.89
5.5.250.0070.08720.49
5.5.240.0200.07020.16

preferences:
56.45 ms | 401 KiB | 5 Q