3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myAddress = "15502 S Memorial Dr, Bixby, OK 74445"; $myKey = "Fmjtd%7Cluu82q6y2q%2Can%3Do5-94txl0"; function GetJsonFeed() { global $myAddress, $myKey; $url = "http://www.mapquestapi.com/geocoding/v1/address?key=" . $myKey . "&callback=renderOptions&inFormat=kvp&outFormat=json&location=" . $myAddress . "&maxResults=1"; //$url = @file_get_contents('http://open.mapquestapi.com/geocoding/v1/address?key=' . $myKey . '&location=Lancaster,PA'); //echo $url . "<br>"; $mapresponse = file_get_contents(rawurlencode($url), "r"); return json_decode($mapresponse); } $json = GetJsonFeed(); $jsonArr = json_decode($json); var_dump(json_decode($json, 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.0070.01016.74
8.3.50.0100.00922.12
8.3.40.0120.00318.73
8.3.30.0070.00719.11
8.3.20.0110.00020.29
8.3.10.0080.00021.81
8.3.00.0060.00320.88
8.2.180.0040.01518.72
8.2.170.0070.01022.96
8.2.160.0070.00722.25
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00526.16
8.2.120.0040.00419.66
8.2.110.0000.01021.03
8.2.100.0070.00418.03
8.2.90.0060.00319.05
8.2.80.0000.00817.97
8.2.70.0000.00917.75
8.2.60.0040.00418.05
8.2.50.0040.00418.16
8.2.40.0020.00520.62
8.2.30.0040.00419.30
8.2.20.0000.00717.80
8.2.10.0000.00818.18
8.2.00.0000.00817.92
8.1.280.0070.01425.92
8.1.270.0060.00320.55
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0030.00722.72
8.1.230.0110.00022.08
8.1.220.0030.00617.78
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.13
8.1.180.0000.00718.10
8.1.170.0040.00418.51
8.1.160.0040.00418.96
8.1.150.0060.00318.88
8.1.140.0040.00417.59
8.1.130.0030.00317.91
8.1.120.0070.00017.49
8.1.110.0040.00417.38
8.1.100.0080.00017.48
8.1.90.0030.00717.40
8.1.80.0000.00817.39
8.1.70.0000.00717.37
8.1.60.0030.00517.64
8.1.50.0080.00017.47
8.1.40.0030.00617.53
8.1.30.0040.00417.54
8.1.20.0000.00917.67
8.1.10.0000.00817.49
8.1.00.0070.00317.37
8.0.300.0040.00418.77
8.0.290.0000.00716.73
8.0.280.0000.00718.54
8.0.270.0000.00716.94
8.0.260.0050.00217.27
8.0.250.0030.00317.10
8.0.240.0100.00017.03
8.0.230.0040.00417.10
8.0.220.0030.00317.01
8.0.210.0090.00017.07
8.0.200.0040.00417.17
8.0.190.0070.00017.16
8.0.180.0000.00717.04
8.0.170.0080.00016.96
8.0.160.0040.00417.12
8.0.150.0030.00317.04
8.0.140.0040.00417.01
8.0.130.0030.00313.48
8.0.120.0040.00417.07
8.0.110.0000.00716.91
8.0.100.0070.00016.97
8.0.90.0040.00417.16
8.0.80.0070.01017.04
8.0.70.0000.00716.93
8.0.60.0050.00316.93
8.0.50.0050.00216.94
8.0.30.0190.00817.23
8.0.20.0120.01217.40
8.0.10.0040.00417.09
8.0.00.0140.00316.79
7.4.330.0000.00515.14
7.4.320.0000.00716.63
7.4.300.0060.00316.64
7.4.290.0070.00016.55
7.4.280.0030.00716.52
7.4.270.0030.00316.63
7.4.260.0000.00816.57
7.4.250.0070.00016.53
7.4.240.0020.00516.59
7.4.230.0000.00716.64
7.4.220.0130.00716.64
7.4.210.0070.01316.68
7.4.200.0000.00716.54
7.4.160.0070.01316.57
7.4.150.0110.00717.40
7.4.140.0080.01317.86
7.4.130.0100.00716.53
7.4.120.0130.00716.57
7.4.110.0130.00716.49
7.4.100.0060.01816.48
7.4.90.0070.01016.63
7.4.80.0060.01216.53
7.4.70.0080.01116.40
7.4.60.0100.00916.59
7.4.50.0000.00816.64
7.4.40.0100.00616.53
7.4.30.0080.01116.65
7.4.00.0030.01014.88
7.3.330.0000.00613.33
7.3.320.0140.00013.53
7.3.310.0000.00716.47
7.3.300.0060.00016.36
7.3.290.0080.00716.50
7.3.280.0050.01016.46
7.3.270.0110.00617.40
7.3.260.0110.00716.49
7.3.250.0120.00516.53
7.3.240.0030.01516.50
7.3.230.0130.00716.68
7.3.210.0060.01216.53
7.3.200.0100.01219.39
7.3.190.0040.01216.64
7.3.180.0100.00716.46
7.3.170.0140.00516.51
7.3.160.0120.01216.54
7.2.330.0030.01516.65
7.2.320.0100.00616.83
7.2.310.0190.00316.66
7.2.300.0070.01016.45
7.2.290.0070.01016.65
7.1.70.0060.00316.88
7.1.60.0160.00919.46
7.1.50.0060.01516.80
7.1.00.0030.07722.52
7.0.200.0030.00516.56
7.0.140.0030.05722.16
7.0.60.0100.08019.84
7.0.50.0100.08317.87
7.0.40.0170.07720.19
7.0.30.0300.08320.11
7.0.20.0230.06020.09
7.0.10.0100.08320.09
7.0.00.0100.08320.21
5.6.280.0070.07020.79
5.6.210.0070.08020.75
5.6.200.0070.08318.19
5.6.190.0070.06020.78
5.6.180.0530.06320.42
5.6.170.0200.05020.41
5.6.160.0030.06720.51
5.6.150.0100.06718.25
5.6.140.0000.05318.18
5.6.130.0030.05718.25
5.6.120.0000.08021.05
5.6.110.0070.08721.01
5.6.100.0030.08321.04
5.6.90.0100.07721.09
5.6.80.0130.07720.51
5.5.350.0130.06720.45
5.5.340.0030.07317.96
5.5.330.0070.05320.19
5.5.320.0200.04020.52
5.5.310.0200.03720.30
5.5.300.0070.07717.92
5.5.290.0070.05317.96
5.5.280.0100.04020.80
5.5.270.0030.04320.85
5.5.260.0230.06320.76
5.5.250.0100.04320.61
5.5.240.0130.04320.24
5.4.450.0000.04019.48
5.4.440.0000.04019.56
5.4.430.0000.03719.18
5.4.420.0030.03719.32
5.4.410.0000.03719.45
5.4.400.0030.03318.96
5.4.390.0070.03318.95
5.4.380.0000.04719.07
5.4.370.0000.04019.19
5.4.360.0000.04719.23
5.4.350.0000.03719.10
5.4.340.0070.07718.88
5.4.320.0070.05319.10
5.4.310.0070.07019.14
5.4.300.0030.07719.20
5.4.290.0030.07319.22
5.4.280.0000.08319.22
5.4.270.0030.08019.09
5.4.260.0030.06019.25
5.4.250.0030.06319.26
5.4.240.0070.06018.96
5.4.230.0000.07019.22
5.4.220.0030.08018.99
5.4.210.0030.07019.26
5.4.200.0030.05719.01
5.4.190.0000.07019.23
5.4.180.0030.05318.99
5.4.170.0030.06719.21
5.4.160.0100.04319.15
5.4.150.0070.08718.86
5.4.140.0070.07016.52
5.4.130.0030.07016.57
5.4.120.0000.05016.37
5.4.110.0070.07016.41
5.4.100.0100.06316.46
5.4.90.0070.04716.37
5.4.80.0030.03716.53
5.4.70.0000.07316.54
5.4.60.0070.05016.53
5.4.50.0000.06716.38
5.4.40.0000.07716.54
5.4.30.0070.05316.49
5.4.20.0030.05316.24
5.4.10.0070.05716.57
5.4.00.0070.05015.83
5.3.290.0070.05314.75
5.3.280.0030.07714.68
5.3.270.0130.05014.53
5.3.260.0070.07314.60
5.3.250.0130.06014.52
5.3.240.0030.07314.63
5.3.230.0030.06014.68
5.3.220.0000.05014.55
5.3.210.0030.08014.50
5.3.200.0000.07014.69
5.3.190.0070.07014.65
5.3.180.0070.07314.56
5.3.170.0030.04714.64
5.3.160.0000.05014.65
5.3.150.0070.07314.49
5.3.140.0030.07314.62
5.3.130.0070.07714.57
5.3.120.0100.05014.64
5.3.110.0030.06014.68
5.3.100.0030.04014.16
5.3.90.0030.07014.26
5.3.80.0000.07314.11
5.3.70.0030.04714.18
5.3.60.0070.07014.01
5.3.50.0000.07013.86
5.3.40.0000.07314.07
5.3.30.0030.05714.07
5.3.20.0030.05313.78
5.3.10.0000.07713.71
5.3.00.0030.04713.76
5.2.170.0030.04712.20
5.2.160.0000.04312.20
5.2.150.0030.05012.20
5.2.140.0000.05712.20
5.2.130.0000.04712.20
5.2.120.0070.04312.20
5.2.110.0000.04712.20
5.2.100.0070.05712.20
5.2.90.0000.06012.20
5.2.80.0030.05012.20
5.2.70.0030.05712.20
5.2.60.0030.05312.20
5.2.50.0070.04712.20
5.2.40.0070.04712.20
5.2.30.0000.06312.20
5.2.20.0070.05012.20
5.2.10.0030.03312.20
5.2.00.0070.05712.20
5.1.60.0030.02712.20
5.1.50.0000.05712.20
5.1.40.0030.04012.20
5.1.30.0030.04312.20
5.1.20.0030.05312.20
5.1.10.0030.03312.20
5.1.00.0070.03312.20
5.0.50.0000.02712.20
5.0.40.0030.04012.20
5.0.30.0100.06012.20
5.0.20.0000.04712.20
5.0.10.0070.03012.20
5.0.00.0030.04012.20
4.4.90.0000.03312.20
4.4.80.0000.03012.20
4.4.70.0000.02712.20
4.4.60.0000.03712.20
4.4.50.0070.02312.20
4.4.40.0000.06012.20
4.4.30.0000.03712.20
4.4.20.0030.03012.20
4.4.10.0030.01712.20
4.4.00.0000.04312.20
4.3.110.0030.03712.20
4.3.100.0070.02712.20
4.3.90.0000.03312.20
4.3.80.0000.05712.20
4.3.70.0000.03712.20
4.3.60.0030.03012.20
4.3.50.0000.03712.20
4.3.40.0000.05712.20
4.3.30.0000.04012.20
4.3.20.0000.04012.20
4.3.10.0000.03712.20
4.3.00.0070.03312.20

preferences:
33.76 ms | 401 KiB | 5 Q