3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = file_get_contents('http://api.geonames.org/findNearbyPlaceNameJSON?lat=51.9877644&lng=-1.47866&username=demo'); $data = json_decode($json,true); $Geonames = $data['geonames'][0]; echo "<pre>"; print_r($Geonames); exit;

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.0000.01516.75
8.3.50.0180.00521.19
8.3.40.0120.00318.92
8.3.30.0110.00419.25
8.3.20.0040.00420.76
8.3.10.0000.00822.17
8.3.00.0040.00423.89
8.2.180.0060.00916.88
8.2.170.0070.00719.21
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0040.00420.01
8.2.120.0040.00426.35
8.2.110.0040.00422.45
8.2.100.0080.00518.18
8.2.90.0000.00819.46
8.2.80.0000.00818.18
8.2.70.0060.00317.88
8.2.60.0000.00818.30
8.2.50.0000.00818.07
8.2.40.0040.00422.63
8.2.30.0040.00419.63
8.2.20.0040.00418.00
8.2.10.0040.00418.33
8.2.00.0040.00418.31
8.1.280.0110.00725.92
8.1.270.0130.00324.13
8.1.260.0030.00628.09
8.1.250.0050.00328.09
8.1.240.0030.00622.77
8.1.230.0040.00719.26
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0090.00017.25
8.1.180.0040.00418.10
8.1.170.0030.00518.69
8.1.160.0000.00720.90
8.1.150.0000.00819.01
8.1.140.0000.00819.72
8.1.130.0030.00317.82
8.1.120.0040.00417.61
8.1.110.0050.00217.52
8.1.100.0040.00417.51
8.1.90.0020.00517.46
8.1.80.0080.00017.65
8.1.70.0030.00317.54
8.1.60.0050.00217.78
8.1.50.0080.00017.62
8.1.40.0040.00417.70
8.1.30.0000.00817.80
8.1.20.0000.00817.68
8.1.10.0040.00417.73
8.1.00.0000.00817.78
8.0.300.0040.00418.77
8.0.290.0000.00717.13
8.0.280.0000.00718.71
8.0.270.0000.00817.43
8.0.260.0030.00317.55
8.0.250.0040.00417.21
8.0.240.0000.00717.05
8.0.230.0040.00417.14
8.0.220.0070.00017.22
8.0.210.0000.00717.13
8.0.200.0030.00317.09
8.0.190.0040.00417.14
8.0.180.0000.00817.13
8.0.170.0040.00417.09
8.0.160.0040.00417.29
8.0.150.0000.00716.90
8.0.140.0000.00717.04
8.0.130.0000.00613.60
8.0.120.0080.00017.11
8.0.110.0090.00017.17
8.0.100.0040.00417.16
8.0.90.0040.00417.11
8.0.80.0030.01317.24
8.0.70.0040.00417.20
8.0.60.0030.00517.23
8.0.50.0000.00917.03
8.0.30.0120.01017.21
8.0.20.0120.00817.40
8.0.10.0000.00817.26
8.0.00.0090.00917.03
7.4.330.0000.00517.07
7.4.320.0000.00616.54
7.4.300.0000.00916.79
7.4.290.0040.00416.65
7.4.280.0060.00316.57
7.4.270.0070.00016.48
7.4.260.0050.00316.52
7.4.250.0040.00416.62
7.4.240.0040.00416.68
7.4.230.0000.00716.71
7.4.220.0030.01516.80
7.4.210.0070.00816.69
7.4.200.0040.00416.87
7.4.160.0060.01016.71
7.4.150.0180.00017.40
7.4.140.0100.01317.86
7.4.130.0130.00816.69
7.4.120.0090.01116.73
7.4.110.0110.00716.62
7.4.100.0090.00916.84
7.4.90.0030.01416.74
7.4.80.0150.00319.39
7.4.70.0150.00616.75
7.4.60.0030.01516.67
7.4.50.0080.00816.38
7.4.40.0040.01516.64
7.4.30.0090.00916.73
7.4.00.0090.00715.14
7.3.330.0020.00213.37
7.3.320.0000.00613.33
7.3.310.0040.00416.61
7.3.300.0070.00016.59
7.3.290.0030.00316.60
7.3.280.0080.01216.64
7.3.270.0190.00017.40
7.3.260.0040.01516.76
7.3.250.0120.01016.59
7.3.240.0080.01016.73
7.3.230.0100.01616.52
7.3.210.0000.02116.55
7.3.200.0060.01619.39
7.3.190.0130.00616.63
7.3.180.0100.01316.49
7.3.170.0100.01316.58
7.3.160.0090.00916.70
7.3.120.0140.00415.14
7.3.110.0060.01314.92
7.3.100.0130.00714.91
7.3.90.0080.00614.85
7.3.80.0100.01015.02
7.3.70.0070.00714.71
7.3.60.0030.01215.16
7.3.50.0100.00714.92
7.3.40.0080.00814.62
7.3.30.0090.00315.14
7.3.20.0080.00617.07
7.3.10.0060.00917.05
7.3.00.0080.00716.77
7.2.330.0130.01016.71
7.2.320.0130.00717.05
7.2.310.0060.00916.63
7.2.300.0100.00716.82
7.2.290.0190.02016.67
7.2.250.0110.00614.94
7.2.240.0070.01314.97
7.2.230.0110.00315.07
7.2.220.0030.01215.23
7.2.210.0040.01215.54
7.2.200.0060.00915.11
7.2.190.0000.01115.04
7.2.180.0000.01415.38
7.2.170.0060.01215.33
7.2.160.0070.01015.40
7.2.150.0100.00316.91
7.2.140.0100.00317.10
7.2.130.0050.01117.23
7.2.120.0050.01017.19
7.2.110.0590.00416.97
7.2.100.0070.00817.07
7.2.90.0140.00716.96
7.2.80.0110.00616.96
7.2.70.0060.00917.07
7.2.60.0120.00717.08
7.2.50.0080.00817.00
7.2.40.0070.00817.21
7.2.30.0120.00717.03
7.2.20.0090.00817.02
7.2.10.0070.00617.21
7.2.00.0100.00617.04
7.1.330.0070.01116.12
7.1.320.0100.00315.75
7.1.310.0130.00315.77
7.1.300.0000.01416.11
7.1.290.0090.00616.16
7.1.280.0090.00315.83
7.1.270.0060.00616.09
7.1.260.0060.00615.79
7.1.250.0030.00816.01
7.1.240.0070.01016.27
7.1.230.0100.00815.92
7.1.220.0200.00515.94
7.1.210.0140.01015.99
7.1.200.0100.00615.79
7.1.190.0120.00815.71
7.1.180.0090.00916.04
7.1.170.0160.00215.99
7.1.160.0120.00416.00
7.1.150.0060.01216.08
7.1.140.0170.00716.05
7.1.130.0100.00716.08
7.1.120.0240.00516.18
7.1.110.0120.00616.10
7.1.100.0070.00716.02
7.1.90.0080.00816.10
7.1.80.0070.00616.10
7.1.70.0080.00616.54
7.1.60.0090.01017.13
7.1.50.0090.01116.43
7.1.40.0060.00716.07
7.1.30.0070.00816.15
7.1.20.0110.00216.24
7.1.10.0100.00515.96
7.1.00.0040.03218.10
7.0.330.0060.00615.70
7.0.320.0070.00715.75
7.0.310.0050.01015.62
7.0.300.0070.00715.73
7.0.290.0040.01315.60
7.0.280.0080.00915.46
7.0.270.0090.00615.48
7.0.260.0090.00715.38
7.0.250.0090.00215.55
7.0.240.0120.00615.81
7.0.230.0090.00715.61
7.0.220.0170.00615.60
7.0.210.0060.00615.56
7.0.200.0080.00516.16
7.0.190.0110.00315.73
7.0.180.0100.00515.56
7.0.170.0020.00915.41
7.0.160.0080.00815.45
7.0.150.0090.00415.52
7.0.140.0070.01115.66
7.0.130.0090.00615.58
7.0.120.0070.00715.73
7.0.110.0080.00815.60
7.0.100.0110.00515.79
7.0.90.0110.00315.50
7.0.80.0100.00315.76
7.0.70.0160.00815.62
7.0.60.0090.03517.73
7.0.50.0080.02016.36
7.0.40.0050.02115.96
7.0.30.0160.01815.93
7.0.20.0140.02815.95
7.0.10.0080.02915.79
7.0.00.0130.02916.03
5.6.400.0030.00914.45
5.6.390.0040.01114.48
5.6.380.0080.00614.46
5.6.370.0070.01114.61
5.6.360.0110.00414.58
5.6.350.0070.00814.61
5.6.340.0100.00614.71
5.6.330.0110.00314.59
5.6.320.0090.00714.40
5.6.310.0120.00614.39
5.6.300.0050.00914.63
5.6.290.0050.01314.63
5.6.280.0090.01316.78
5.6.270.0090.00414.63
5.6.260.0020.01314.62
5.6.250.0100.00414.68
5.6.240.0080.00714.56
5.6.230.0140.00314.67
5.6.220.0080.00814.45
5.6.210.0090.02616.75
5.6.200.0090.02115.86
5.6.190.0100.02916.81
5.6.180.0190.02716.69
5.6.170.0110.02716.71
5.6.160.0100.01816.61
5.6.150.0050.03315.89
5.6.140.0090.01515.94
5.6.130.0100.01515.97
5.6.120.0070.02316.88
5.6.110.0060.03116.87
5.6.100.0080.03316.82
5.6.90.0100.03116.86
5.6.80.0040.02116.60
5.6.70.0100.00614.55
5.6.60.0110.00414.48
5.6.50.0100.00614.41
5.6.40.0080.00614.40
5.6.30.0050.00714.54
5.6.20.0110.00414.50
5.6.10.0090.00714.52
5.6.00.0080.00814.58
5.5.380.0030.00813.52
5.5.370.0070.00913.65
5.5.360.0110.00613.63
5.5.350.0110.03115.95
5.5.340.0050.01915.18
5.5.330.0080.01816.09
5.5.320.0250.02815.83
5.5.310.0110.01815.94
5.5.300.0090.02815.25
5.5.290.0090.03015.04
5.5.280.0050.02216.14
5.5.270.0050.02615.97
5.5.260.0120.03016.11
5.5.250.0090.02216.07
5.5.240.0090.02315.99
5.5.230.0080.00513.57
5.5.220.0080.00213.40
5.5.210.0080.00513.68
5.5.200.0040.00913.66
5.5.190.0030.00913.38
5.5.180.0070.00813.67
5.5.170.0050.01014.34
5.5.160.0050.00913.46
5.5.150.0060.00513.64
5.5.140.0080.00513.78
5.5.130.0060.01013.61
5.5.120.0060.00613.55
5.5.110.0080.00313.51
5.5.100.0080.00513.54
5.5.90.0070.00413.56
5.5.80.0100.00413.50
5.5.70.0080.00613.56
5.5.60.0060.00813.46
5.5.50.0090.00313.48
5.5.40.0070.00613.64
5.5.30.0100.00513.70
5.5.20.0060.00513.64
5.5.10.0080.00413.40
5.5.00.0070.00613.63

preferences:
51.33 ms | 401 KiB | 5 Q