3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.api.chefkoch.de/api/1.2/api-recipe.php?ID=640221164979273'; $content = file_get_contents($url); $json = json_decode($content, true);

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.0120.00616.75
8.3.50.0160.00421.11
8.3.40.0070.00719.04
8.3.30.0100.00618.96
8.3.20.0040.00420.52
8.3.10.0000.00822.15
8.3.00.0040.00423.88
8.2.180.0060.00916.63
8.2.170.0120.00322.96
8.2.160.0070.00720.68
8.2.150.0080.00025.66
8.2.140.0110.00424.66
8.2.130.0000.00819.84
8.2.120.0050.00326.35
8.2.110.0060.00321.28
8.2.100.0100.00317.91
8.2.90.0090.00017.86
8.2.80.0000.00917.97
8.2.70.0030.00518.05
8.2.60.0050.00318.34
8.2.50.0080.00018.10
8.2.40.0060.00319.60
8.2.30.0000.01019.49
8.2.20.0050.00317.87
8.2.10.0050.00318.13
8.2.00.0080.00018.29
8.1.280.0180.00425.92
8.1.270.0150.00424.09
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0040.00422.27
8.1.230.0000.01219.22
8.1.220.0060.00317.78
8.1.210.0030.00618.77
8.1.200.0040.00717.48
8.1.190.0060.00317.25
8.1.180.0080.00018.10
8.1.170.0000.01120.66
8.1.160.0000.00720.77
8.1.150.0000.00818.92
8.1.140.0060.00319.70
8.1.130.0000.00717.73
8.1.120.0070.00017.55
8.1.110.0040.00417.41
8.1.100.0040.00417.50
8.1.90.0000.00817.48
8.1.80.0040.00317.57
8.1.70.0000.00817.66
8.1.60.0040.00417.64
8.1.50.0000.00817.70
8.1.40.0040.00417.55
8.1.30.0030.00617.63
8.1.20.0090.00017.62
8.1.10.0040.00417.69
8.1.00.0000.00717.43
8.0.300.0070.00019.77
8.0.290.0090.00016.88
8.0.280.0030.00318.63
8.0.270.0000.00717.36
8.0.260.0040.00417.38
8.0.250.0000.00817.12
8.0.240.0030.00317.14
8.0.230.0000.00717.14
8.0.220.0000.00717.06
8.0.210.0040.00417.05
8.0.200.0030.00317.08
8.0.190.0000.00817.06
8.0.180.0000.00716.99
8.0.170.0080.00017.08
8.0.160.0060.00317.04
8.0.150.0070.00017.02
8.0.140.0000.00717.04
8.0.130.0070.00013.53
8.0.120.0050.00317.11
8.0.110.0050.00317.08
8.0.100.0040.00417.00
8.0.90.0070.00017.05
8.0.80.0070.01017.16
8.0.70.0080.00017.05
8.0.60.0030.00517.24
8.0.50.0040.00417.16
8.0.30.0060.01017.28
8.0.20.0130.01017.41
8.0.10.0070.00017.20
8.0.00.0120.00916.94
7.4.330.0050.00017.09
7.4.320.0000.00616.62
7.4.300.0000.00716.67
7.4.290.0070.00016.65
7.4.280.0000.00916.67
7.4.270.0030.00316.67
7.4.260.0040.00616.67
7.4.250.0000.00816.74
7.4.240.0020.00616.62
7.4.230.0050.00316.48
7.4.220.0060.01116.72
7.4.210.0090.00916.71
7.4.200.0040.00416.84
7.4.160.0080.01216.66
7.4.150.0160.01017.40
7.4.140.0100.01317.86
7.4.130.0120.01116.62
7.4.120.0140.00516.71
7.4.110.0150.00316.82
7.4.100.0130.01316.58
7.4.90.0070.01016.59
7.4.80.0100.01319.39
7.4.70.0140.01116.47
7.4.60.0100.01016.68
7.4.50.0060.00616.74
7.4.40.0160.00316.72
7.4.30.0120.00616.66
7.4.00.0100.01015.01
7.3.330.0030.00313.39
7.3.320.0030.00313.37
7.3.310.0050.00316.48
7.3.300.0070.00016.39
7.3.290.0040.00416.49
7.3.280.0090.00816.44
7.3.270.0190.00617.40
7.3.260.0090.00916.38
7.3.250.0100.00816.59
7.3.240.0100.00916.52
7.3.230.0120.00616.39
7.3.210.0210.00016.41
7.3.200.0100.01019.39
7.3.190.0160.00716.51
7.3.180.0110.00616.46
7.3.170.0200.00316.53
7.3.160.0140.00416.29
7.3.120.0110.00814.88
7.3.110.0090.00914.94
7.3.100.0060.00914.75
7.3.90.0110.00414.81
7.3.80.0050.00814.94
7.3.70.0040.00714.96
7.3.60.0050.00714.85
7.3.50.0090.00614.69
7.3.40.0050.00914.93
7.3.30.0070.00514.96
7.3.20.0070.00716.69
7.3.10.0050.00916.80
7.3.00.0080.00616.63
7.2.330.0100.01316.70
7.2.320.0030.01616.45
7.2.310.0130.00316.80
7.2.300.0030.01516.76
7.2.290.0090.00916.60
7.2.250.0110.00815.16
7.2.240.0110.00615.07
7.2.230.0070.00615.15
7.2.220.0050.00815.11
7.2.210.0090.00514.84
7.2.200.0090.00615.08
7.2.190.0090.00615.04
7.2.180.0070.00915.00
7.2.170.0100.00315.15
7.2.130.0090.00317.01
7.2.120.0070.01017.11
7.2.110.0070.00417.15
7.2.100.0070.01116.81
7.2.90.0070.01017.09
7.2.80.0030.00716.96
7.2.70.0030.00917.18
7.2.60.0040.01216.90
7.2.50.0030.00916.88
7.2.40.0060.00916.59
7.2.30.0060.00917.00
7.2.20.0080.00417.10
7.2.10.0030.01017.24
7.2.00.0120.01218.21
7.1.330.0110.00516.10
7.1.320.0050.00715.85
7.1.310.0070.00715.92
7.1.300.0100.00515.69
7.1.290.0020.01515.77
7.1.280.0080.00415.88
7.1.270.0060.00815.57
7.1.260.0060.00915.91
7.1.250.0060.00916.00
7.1.200.0120.00415.82
7.1.100.0030.01018.07
7.1.70.0040.00717.20
7.1.60.0100.01719.27
7.1.50.0100.00617.16
7.1.00.0000.08022.71
7.0.200.0070.00317.16
7.0.60.0270.06721.95
7.0.50.0130.07318.18
7.0.40.0200.05320.59
7.0.30.0200.06020.48
7.0.20.0200.08320.59
7.0.10.0070.08720.59
7.0.00.0100.08320.46
5.6.280.0100.02721.41
5.6.210.0130.07320.93
5.6.200.0030.04018.52
5.6.190.0130.03721.00
5.6.180.0300.07321.11
5.6.170.0200.06720.86
5.6.160.0170.05720.82
5.6.150.0130.03318.48
5.6.140.0070.08018.41
5.6.130.0030.08718.48
5.6.120.0100.05721.49
5.6.110.0170.04721.36
5.6.100.0070.06721.38
5.6.90.0070.08321.28
5.6.80.0070.07720.77
5.5.350.0130.04020.82
5.5.340.0030.05018.36
5.5.330.0100.08020.93
5.5.320.0330.05020.58
5.5.310.0170.08320.61
5.5.300.0070.04018.37
5.5.290.0100.07718.34
5.5.280.0030.05021.08
5.5.270.0070.04321.23
5.5.260.0030.04021.02
5.5.250.0070.09721.05
5.5.240.0200.07320.42

preferences:
54 ms | 401 KiB | 5 Q