3v4l.org

run code in 300+ PHP versions simultaneously
<?php $spotify1="https://itunes.apple.com/search?term="; $spotify2=" - "; $spotify3="&limit=1"; $spotify_url = "https://itunes.apple.com/search?term=Kylie+Minogue"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$spotify_url); $spotify = curl_exec($ch); curl_close($ch); $obj = json_decode($spotify); //$total = $obj->resultCount->results; //$img640_url = $obj->resultCount[0]->results[1]->artworkUrl100; echo $img640_url;

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.0140.00716.50
8.3.50.0070.00716.10
8.3.40.0210.00018.67
8.3.30.0040.01118.81
8.3.20.0040.00420.15
8.3.10.0040.00423.66
8.3.00.0080.00017.91
8.2.180.0040.01516.75
8.2.170.0080.00822.96
8.2.160.0110.00420.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.94
8.2.120.0040.00426.35
8.2.110.0040.00419.45
8.2.100.0070.00417.72
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0040.00417.80
8.2.50.0030.00518.07
8.2.40.0030.00719.76
8.2.30.0040.00419.66
8.2.20.0060.00318.02
8.2.10.0000.00817.96
8.2.00.0070.00018.11
8.1.280.0090.00925.92
8.1.270.0000.00823.63
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0150.00823.73
8.1.230.0040.00722.65
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0090.00317.35
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0000.00818.59
8.1.160.0040.00418.84
8.1.150.0040.00420.61
8.1.140.0000.00719.52
8.1.130.0040.00418.90
8.1.120.0000.00717.30
8.1.110.0000.01017.29
8.1.100.0000.00717.29
8.1.90.0000.00717.40
8.1.80.0000.00717.39
8.1.70.0000.00717.41
8.1.60.0050.00517.56
8.1.50.0040.00417.55
8.1.40.0050.00217.51
8.1.30.0000.00717.60
8.1.20.0040.00417.54
8.1.10.0000.00717.62
8.1.00.0050.00317.52
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00518.44
8.0.270.0000.00716.74
8.0.260.0000.00718.41
8.0.250.0030.00317.01
8.0.240.0040.00416.94
8.0.230.0000.00816.82
8.0.220.0000.00716.82
8.0.210.0030.00316.85
8.0.200.0000.00716.96
8.0.190.0060.00316.96
8.0.180.0060.00316.93
8.0.170.0050.00316.95
8.0.160.0070.00016.92
8.0.150.0050.00216.90
8.0.140.0040.00416.84
8.0.130.0000.00513.31
8.0.120.0040.00416.81
8.0.110.0040.00316.93
8.0.100.0040.00416.69
8.0.90.0000.00716.75
8.0.80.0070.01316.91
8.0.70.0030.00516.73
8.0.60.0040.00416.70
8.0.50.0000.00716.88
8.0.30.0100.00617.21
8.0.20.0100.01217.40
8.0.10.0040.00417.07
8.0.00.0140.00316.63
7.4.330.0020.00215.55
7.4.320.0030.00316.45
7.4.300.0000.00616.39
7.4.290.0070.00016.49
7.4.280.0000.00816.57
7.4.270.0000.00716.50
7.4.260.0030.00313.38
7.4.250.0000.00816.42
7.4.240.0040.00416.50
7.4.230.0030.00316.44
7.4.220.0130.01016.60
7.4.210.0090.00716.49
7.4.200.0070.00016.34
7.4.160.0110.00516.53
7.4.150.0140.00317.40
7.4.140.0100.00817.86
7.4.130.0150.00416.33
7.4.120.0040.01416.55
7.4.110.0070.01016.34
7.4.100.0070.01016.43
7.4.90.0080.00816.50
7.4.80.0070.01019.39
7.4.70.0090.00616.47
7.4.60.0170.00016.54
7.4.50.0030.01316.42
7.4.40.0120.00616.56
7.4.30.0100.00716.24
7.4.00.0100.00615.16
7.3.330.0060.00013.15
7.3.320.0030.00313.06
7.3.310.0070.00016.09
7.3.300.0000.00616.20
7.3.290.0000.00716.10
7.3.280.0090.00816.23
7.3.270.0140.01117.40
7.3.260.0100.00716.44
7.3.250.0090.00816.36
7.3.240.0080.00816.38
7.3.230.0060.01216.29
7.3.210.0160.00016.34
7.3.200.0130.00916.29
7.3.190.0080.00816.57
7.3.180.0130.00816.50
7.3.170.0060.01016.29
7.3.160.0110.00416.40
7.2.330.0120.00616.55
7.2.320.0140.00316.59
7.2.310.0030.01416.40
7.2.300.0060.01116.53
7.2.290.0060.00916.39
7.2.90.0230.00614.64
7.2.80.0860.00614.57
7.2.70.1930.00315.03
7.2.60.1010.00914.85
7.2.50.0140.00414.96
7.2.40.0140.01014.76
7.2.30.0210.00414.84
7.2.20.1210.00614.72
7.2.10.0100.01014.80
7.2.00.0220.01314.83
7.1.210.0120.00613.79
7.1.200.0860.00713.55
7.1.190.0780.01013.69
7.1.180.1060.00613.75
7.1.170.0170.00013.66
7.1.160.0100.00313.49
7.1.150.0100.00713.88
7.1.140.1230.01013.75
7.1.130.1130.01013.79
7.1.120.0100.00713.74
7.1.110.1240.00313.86
7.1.100.0190.00013.61
7.1.90.1630.01013.63
7.1.80.1470.01013.74
7.1.70.0080.00313.84
7.1.60.1350.01632.04
7.1.50.1630.00331.55
7.1.40.1640.01031.95
7.1.30.1640.00331.82
7.1.20.1350.00931.75
7.1.10.0110.00813.87
7.1.00.1850.00713.70
7.0.310.0100.00613.40
7.0.300.0110.01113.24
7.0.290.1260.01413.18
7.0.280.1090.00313.46
7.0.270.1090.00713.35
7.0.260.0950.00313.36
7.0.250.1450.00613.44
7.0.240.0100.00713.23
7.0.230.1460.00313.54
7.0.220.0120.00613.55
7.0.210.0080.00513.50
7.0.200.1370.00313.37
7.0.190.1380.00013.41
7.0.180.1900.00613.22
7.0.170.1440.00413.35
7.0.160.1140.00313.61
7.0.150.1060.00613.59
7.0.140.1610.00613.53
7.0.130.1200.00313.38
7.0.120.1020.01613.53
7.0.110.0160.00913.39
7.0.100.1310.00313.14
7.0.90.1230.00313.56
7.0.80.1360.01013.63
7.0.70.0120.00813.38
7.0.60.0100.01013.45
7.0.50.0050.01413.56
7.0.40.1340.00313.21
7.0.30.1260.00313.65
7.0.20.0090.01513.54
7.0.10.0160.00513.56
7.0.00.1080.00713.52

preferences:
50.96 ms | 400 KiB | 5 Q