3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = file_get_contents('https://api.chefkoch.de/api/1.2/api-recipe.php?ID=640221164979273'); $data = json_decode($json,true); $Geonames = $data['geonames'][0]; echo "<pre>"; print_r($Geonames); exit; php?>

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.0070.00716.50
8.3.50.0120.00316.08
8.3.40.0140.00018.94
8.3.30.0110.00418.88
8.3.20.0040.00420.33
8.3.10.0060.00323.65
8.3.00.0000.00723.66
8.2.180.0160.00618.39
8.2.170.0120.00318.84
8.2.160.0100.00322.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0040.00419.88
8.2.120.0040.00426.35
8.2.110.0070.00420.52
8.2.100.0040.00817.91
8.2.90.0050.00318.91
8.2.80.0000.00817.97
8.2.70.0090.00017.49
8.2.60.0060.00318.05
8.2.50.0030.00918.07
8.2.40.0060.00320.68
8.2.30.0000.00819.53
8.2.20.0020.00517.64
8.2.10.0040.00418.12
8.2.00.0030.00617.98
8.1.280.0070.01125.92
8.1.270.0030.00623.84
8.1.260.0070.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0110.00020.84
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0070.00317.23
8.1.180.0000.00818.10
8.1.170.0000.00818.48
8.1.160.0000.00820.75
8.1.150.0040.00418.82
8.1.140.0000.00819.52
8.1.130.0040.00417.64
8.1.120.0070.00017.41
8.1.110.0040.00417.30
8.1.100.0030.00517.44
8.1.90.0000.00717.46
8.1.80.0070.00017.29
8.1.70.0000.00717.31
8.1.60.0000.00717.58
8.1.50.0040.00417.55
8.1.40.0060.00317.58
8.1.30.0040.00417.56
8.1.20.0060.00317.71
8.1.10.0040.00417.58
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0030.00318.52
8.0.270.0040.00417.32
8.0.260.0030.00317.32
8.0.250.0080.00017.05
8.0.240.0030.00316.88
8.0.230.0000.00817.07
8.0.220.0070.00016.98
8.0.210.0040.00416.79
8.0.200.0030.00316.99
8.0.190.0050.00317.02
8.0.180.0070.00016.98
8.0.170.0040.00416.96
8.0.160.0050.00216.96
8.0.150.0000.00716.97
8.0.140.0000.00816.82
8.0.130.0000.00613.41
8.0.120.0030.00616.93
8.0.110.0000.00717.02
8.0.100.0080.00016.87
8.0.90.0070.00017.02
8.0.80.0000.01616.93
8.0.70.0040.00417.01
8.0.60.0000.00716.88
8.0.50.0040.00416.93
8.0.30.0060.01217.06
8.0.20.0120.01117.40
8.0.10.0000.00716.91
8.0.00.0060.01216.91
7.4.330.0020.00216.82
7.4.320.0060.00016.50
7.4.300.0070.00016.45
7.4.290.0070.00016.46
7.4.280.0030.00616.56
7.4.270.0080.00016.41
7.4.260.0030.00616.43
7.4.250.0050.00316.32
7.4.240.0040.00316.47
7.4.230.0030.00316.55
7.4.220.0210.00416.56
7.4.210.0060.00916.56
7.4.200.0030.00316.50
7.4.160.0110.00516.61
7.4.150.0030.01517.40
7.4.140.0100.01117.86
7.4.130.0130.00416.50
7.4.120.0120.00816.40
7.4.110.0060.01116.53
7.4.100.0090.01216.43
7.4.90.0030.01316.34
7.4.80.0030.01519.39
7.4.70.0090.00916.59
7.4.60.0060.01116.58
7.4.50.0000.01416.59
7.4.40.0070.01116.66
7.4.30.0030.01316.56
7.4.00.0030.01515.06
7.3.330.0000.00613.13
7.3.320.0050.00013.09
7.3.310.0030.00316.28
7.3.300.0000.00716.15
7.3.290.0000.00716.39
7.3.280.0110.00916.40
7.3.270.0040.01417.40
7.3.260.0110.00816.25
7.3.250.0070.01216.39
7.3.240.0100.00716.47
7.3.230.0100.01016.39
7.3.210.0140.00516.30
7.3.200.0100.00719.39
7.3.190.0100.01416.53
7.3.180.0000.01516.18
7.3.170.0030.01316.47
7.3.160.0130.00916.30
7.2.330.0110.01116.54
7.2.320.0060.01216.49
7.2.310.0040.01316.55
7.2.300.0120.00916.71
7.2.290.0110.00616.70
7.2.60.0000.01716.82
7.2.00.0090.00919.32
7.1.200.0030.00615.66
7.1.100.0040.00818.54
7.1.70.0090.00417.60
7.1.60.0040.02119.27
7.1.50.0070.01717.46
7.1.00.0100.07022.66
7.0.200.0030.00616.94
7.0.60.0200.05022.12
7.0.50.0130.03318.18
7.0.40.0170.03020.54
7.0.30.0330.06020.51
7.0.20.0330.07320.56
7.0.10.0100.07720.45
7.0.00.0030.06320.63
5.6.280.0030.04021.26
5.6.210.0070.08320.76
5.6.200.0000.04318.45
5.6.190.0070.04021.05
5.6.180.0230.04021.04
5.6.170.0270.07720.87
5.6.160.0070.08720.97
5.6.150.0030.08318.74
5.6.140.0070.08318.44
5.6.130.0070.08018.41
5.6.120.0070.08021.33
5.6.110.0100.08321.33
5.6.100.0200.03721.50
5.6.90.0070.08021.36
5.6.80.0070.08020.72
5.5.350.0170.02720.80
5.5.340.0070.08018.20
5.5.330.0030.09020.87
5.5.320.0330.07320.74
5.5.310.0200.04320.65
5.5.300.0000.04318.53
5.5.290.0130.07718.37
5.5.280.0130.07721.16
5.5.270.0030.04721.14
5.5.260.0070.04321.18
5.5.250.0170.07721.01
5.5.240.0170.06320.46

preferences:
49.18 ms | 400 KiB | 5 Q