3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysearch = 'https://api.deezer.com/search/album?q=azhee'; $mysearchjson = file_get_contents($mysearch); $resultjson = json_decode($mysearchjson); //select items from resultjson ! $idalbum = $resultjson->data[0]->id; $coversmallalbum = $resultjson->data[0]->cover_small; $titlealbum = $resultjson->data[0]->title; // select artist from search ! $idartistalbum = $resultjson->data[0]->artist->id; $nameartistalbum = $resultjson->data[0]->artist->name; $pictureartistalbum = $resultjson->data[0]->artist->picture; echo $idalbum; echo $coversmallalbum; echo $titlealbum; echo $idartistalbum ; echo $nameartistalbum ; echo $pictureartistalbum;

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.40.0090.00618.58
8.3.30.0110.00418.71
8.3.20.0030.00620.21
8.3.10.0080.00023.65
8.3.00.0080.00023.66
8.2.170.0140.00022.96
8.2.160.0100.00320.38
8.2.150.0020.00524.18
8.2.140.0080.00024.66
8.2.130.0040.00419.77
8.2.120.0050.00226.35
8.2.110.0090.00019.39
8.2.100.0080.00318.05
8.2.90.0040.00419.36
8.2.80.0040.00417.97
8.2.70.0040.00417.60
8.2.60.0040.00418.03
8.2.50.0080.00018.07
8.2.40.0070.00420.59
8.2.30.0000.00719.43
8.2.20.0060.00317.81
8.2.10.0000.00718.15
8.2.00.0000.00818.06
8.1.270.0060.00322.31
8.1.260.0070.00028.09
8.1.250.0090.00028.09
8.1.240.0130.01022.22
8.1.230.0040.00717.83
8.1.220.0050.00317.78
8.1.210.0000.00818.77
8.1.200.0070.00317.48
8.1.190.0000.00817.36
8.1.180.0000.00818.10
8.1.170.0080.00018.61
8.1.160.0000.00720.86
8.1.150.0050.00318.93
8.1.140.0000.00819.61
8.1.130.0030.00317.75
8.1.120.0050.00317.46
8.1.110.0060.00317.34
8.1.100.0040.00417.37
8.1.90.0050.00217.45
8.1.80.0000.00817.46
8.1.70.0000.00717.52
8.1.60.0000.00817.58
8.1.50.0050.00317.43
8.1.40.0050.00317.48
8.1.30.0050.00317.52
8.1.20.0030.00617.68
8.1.10.0080.00017.50
8.1.00.0040.00417.62
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0070.00018.46
8.0.270.0000.00717.38
8.0.260.0000.00617.42
8.0.250.0000.00617.09
8.0.240.0050.00317.15
8.0.230.0070.00017.05
8.0.220.0000.00717.02
8.0.210.0030.00517.00
8.0.200.0000.00817.05
8.0.190.0040.00416.92
8.0.180.0040.00417.02
8.0.170.0050.00517.03
8.0.160.0050.00316.90
8.0.150.0060.00316.96
8.0.140.0060.00316.78
8.0.130.0050.00013.30
8.0.120.0050.00317.02
8.0.110.0050.00316.99
8.0.100.0050.00216.80
8.0.90.0000.00717.01
8.0.80.0100.00617.00
8.0.70.0040.00417.01
8.0.60.0030.00516.91
8.0.50.0000.00817.07
8.0.30.0090.00917.13
8.0.20.0080.01117.40
8.0.10.0000.00817.02
8.0.00.0140.00616.83
7.4.330.0050.00016.78
7.4.320.0020.00516.63
7.4.300.0030.00316.70
7.4.290.0000.00716.66
7.4.280.0000.01216.56
7.4.270.0000.00616.58
7.4.260.0030.00316.54
7.4.250.0040.00416.43
7.4.240.0020.00516.67
7.4.230.0040.00416.59
7.4.220.0090.00916.54
7.4.210.0090.01016.67
7.4.200.0040.00416.53
7.4.160.0100.00716.61
7.4.150.0090.01017.40
7.4.140.0120.00817.86
7.4.130.0100.01016.61
7.4.120.0060.01116.66
7.4.110.0160.00416.53
7.4.100.0070.01116.68
7.4.90.0120.00616.43
7.4.80.0100.00619.39
7.4.70.0160.00316.59
7.4.60.0110.00616.52
7.4.50.0140.00416.64
7.4.40.0100.00716.66
7.4.30.0130.01016.63
7.4.00.0070.01014.95
7.3.330.0030.00313.25
7.3.320.0000.00513.29
7.3.310.0030.00316.27
7.3.300.0030.00316.36
7.3.290.0030.00316.46
7.3.280.0100.00816.42
7.3.270.0100.00717.40
7.3.260.0120.00816.44
7.3.250.0110.00616.44
7.3.240.0090.01116.45
7.3.230.0150.00316.57
7.3.210.0110.00716.56
7.3.200.0120.00416.68
7.3.190.0140.00416.45
7.3.180.0090.00916.41
7.3.170.0100.00716.42
7.3.160.0070.01016.59
7.2.330.0110.00716.47
7.2.320.0150.00616.71
7.2.310.0070.01616.73
7.2.300.0110.00716.64
7.2.290.0120.00616.68
7.2.110.0110.00616.66
7.2.100.0150.00616.70
7.2.90.0150.00316.52
7.2.80.1660.00716.82
7.2.70.0110.00717.12
7.2.60.0140.00316.84
7.2.50.0120.00617.02
7.2.40.0060.01316.96
7.2.30.0320.01316.98
7.2.20.0130.00916.49
7.2.10.0350.00616.68
7.2.00.0080.00418.08
7.1.230.0080.01215.49
7.1.220.0100.00615.91
7.1.210.0100.00515.73
7.1.200.0060.00715.69
7.1.190.0050.00815.57
7.1.180.0390.00715.66
7.1.170.0100.00315.88
7.1.160.0110.00415.81
7.1.150.0100.01015.60
7.1.140.0340.00315.46
7.1.130.0180.00315.87
7.1.120.0070.01015.86
7.1.110.0000.01615.73
7.1.100.0030.01117.04
7.1.90.0120.00415.43
7.1.80.0150.00015.73
7.1.70.0100.00616.64
7.1.60.0160.00517.49
7.1.50.0100.00816.60
7.1.40.0060.01515.91
7.1.30.0080.00815.73
7.1.20.0080.01215.93
7.1.10.0110.00515.69
7.1.00.0040.04119.29
7.0.310.0110.00315.66
7.0.300.0060.00615.44
7.0.290.0030.01115.39
7.0.280.0120.00415.40
7.0.270.0110.00515.13
7.0.260.0170.00715.41
7.0.250.0180.00415.37
7.0.240.0090.00915.56
7.0.230.0100.00815.50
7.0.220.0240.00415.29
7.0.210.0130.00415.41
7.0.200.0070.00616.21
7.0.190.0100.00615.45
7.0.180.0120.00415.55
7.0.170.0080.00515.38
7.0.160.0090.00915.62
7.0.150.0070.00715.45
7.0.140.0090.00415.17
7.0.130.0050.00815.41
7.0.120.0500.00715.60
7.0.110.0530.00915.29
7.0.100.0090.00915.16
7.0.90.0070.01015.37
7.0.80.0110.00615.29
7.0.70.0100.00715.44
7.0.60.0110.04318.71
7.0.50.0060.02416.94
7.0.40.0070.03017.01
7.0.30.0230.04116.94
7.0.20.0170.02217.08
7.0.10.0100.04216.96
7.0.00.0070.04416.97
5.6.380.0100.00313.98
5.6.370.0100.00714.12
5.6.360.0070.01014.50
5.6.350.0100.00314.38
5.6.340.0140.00014.55
5.6.330.0060.00914.41
5.6.320.0140.00014.17
5.6.310.0130.00014.65
5.6.300.0070.01114.25
5.6.290.0090.00914.29
5.6.280.0090.04017.71
5.6.270.0120.00414.29
5.6.260.0080.00514.48
5.6.250.0090.00914.36
5.6.240.0100.00614.48
5.6.230.0130.00214.44
5.6.220.0110.00514.45
5.6.210.0100.02317.47
5.6.200.0060.02316.44
5.6.190.0080.02417.85
5.6.180.0250.04317.58
5.6.170.0270.03117.53
5.6.160.0070.02217.56
5.6.150.0070.02416.27
5.6.140.0070.04316.23
5.6.130.0080.03316.43
5.6.120.0140.03617.98
5.6.110.0080.04317.93
5.6.100.0070.02517.77
5.6.90.0160.03317.80
5.6.80.0130.03817.60
5.6.70.0150.00014.16
5.6.60.0140.00314.10
5.6.50.0040.01314.39
5.6.40.0130.00314.35
5.6.30.0130.00314.14
5.6.20.0100.00714.47
5.6.10.0100.00714.03
5.6.00.0110.00314.53
5.5.380.0100.00412.79
5.5.370.0070.00712.79
5.5.360.0060.00612.79
5.5.350.0140.04816.73
5.5.340.0020.04715.55
5.5.330.0050.04316.78
5.5.320.0400.03216.73
5.5.310.0160.02916.68
5.5.300.0050.04315.55
5.5.290.0050.03215.49
5.5.280.0080.04316.94
5.5.270.0090.04417.04
5.5.260.0080.02217.02
5.5.250.0130.03516.98
5.5.240.0090.03016.59
5.5.230.0130.00012.79
5.5.220.0100.00312.79
5.5.210.0040.01112.79
5.5.200.0070.00712.79
5.5.190.0090.00312.79
5.5.180.0080.00812.79
5.5.170.0080.00814.29
5.5.160.0080.00212.79
5.5.150.0080.00312.79
5.5.140.0100.00612.79
5.5.130.0080.00412.79
5.5.120.0130.00012.79
5.5.110.0080.00612.79
5.5.100.0110.00312.79
5.5.90.0090.00512.79
5.5.80.0100.00312.79
5.5.70.0060.00612.79
5.5.60.0090.00512.79
5.5.50.0040.01112.79
5.5.40.0040.00812.79
5.5.30.0080.00412.79
5.5.20.0080.00512.79
5.5.10.0120.00612.79
5.5.00.0060.00512.79

preferences:
48.65 ms | 400 KiB | 5 Q