3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url='http://maps.googleapis.com/maps/api/distancematrix/json?origins=19.1629924,72.83930190&destinations=19.1802370,72.8554149&sensor=false'; $contents = file_get_contents($url); $contents = utf8_encode($contents); $data=json_decode($contents); foreach ($data->id as $id) { echo $id; } ?>

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.0140.00718.86
8.3.50.0130.00721.14
8.3.40.0110.01119.09
8.3.30.0090.00620.65
8.3.20.0080.00020.84
8.3.10.0040.00421.34
8.3.00.0050.00323.98
8.2.180.0160.00616.75
8.2.170.0120.00322.96
8.2.160.0100.00320.50
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0000.00821.16
8.2.110.0060.00320.51
8.2.100.0110.00018.03
8.2.90.0000.00819.33
8.2.80.0040.00418.14
8.2.70.0090.00017.74
8.2.60.0000.00818.05
8.2.50.0090.00018.07
8.2.40.0000.00818.28
8.2.30.0040.00419.66
8.2.20.0070.00018.01
8.2.10.0030.00718.09
8.2.00.0060.00318.08
8.1.280.0100.00725.92
8.1.270.0000.00823.99
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00617.60
8.1.230.0110.00021.08
8.1.220.0030.00518.77
8.1.210.0000.00919.09
8.1.200.0040.00417.48
8.1.190.0060.00317.75
8.1.180.0030.00518.10
8.1.170.0040.00418.79
8.1.160.0030.00519.12
8.1.150.0040.00418.89
8.1.140.0000.00717.68
8.1.130.0030.00318.04
8.1.120.0040.00417.48
8.1.110.0050.00217.46
8.1.100.0040.00417.75
8.1.90.0070.00017.62
8.1.80.0070.00017.59
8.1.70.0000.00717.57
8.1.60.0040.00417.68
8.1.50.0040.00417.70
8.1.40.0040.00417.66
8.1.30.0040.00417.73
8.1.20.0030.00717.82
8.1.10.0000.00817.61
8.1.00.0040.00417.54
8.0.300.0020.00520.02
8.0.290.0040.00417.43
8.0.280.0030.00318.60
8.0.270.0050.00317.55
8.0.260.0000.00717.13
8.0.250.0050.00217.37
8.0.240.0000.00817.23
8.0.230.0030.00317.21
8.0.220.0030.00317.14
8.0.210.0000.00717.02
8.0.200.0000.00717.19
8.0.190.0050.00317.18
8.0.180.0000.00717.32
8.0.170.0000.00817.07
8.0.160.0040.00417.21
8.0.150.0030.00317.26
8.0.140.0040.00417.14
8.0.130.0020.00513.72
8.0.120.0000.00817.32
8.0.110.0040.00417.21
8.0.100.0050.00217.13
8.0.90.0000.00717.14
8.0.80.0000.01617.31
8.0.70.0070.00017.24
8.0.60.0000.00817.21
8.0.50.0040.00417.23
8.0.30.0100.01117.43
8.0.20.0140.00517.40
8.0.10.0000.00817.39
8.0.00.0130.00817.07
7.4.330.0040.00015.25
7.4.320.0060.00316.83
7.4.300.0000.00716.71
7.4.290.0030.00316.78
7.4.280.0030.00316.66
7.4.270.0000.00816.86
7.4.260.0000.00713.54
7.4.250.0000.00916.80
7.4.240.0080.00016.81
7.4.230.0000.00816.74
7.4.220.0130.00816.82
7.4.210.0100.00816.83
7.4.200.0000.00716.68
7.4.190.0000.00716.92
7.4.160.0070.01016.72
7.4.150.0060.01617.40
7.4.140.0130.00817.86
7.4.130.0080.01016.79
7.4.120.0110.01316.85
7.4.110.0140.00416.65
7.4.100.0150.01016.68
7.4.90.0160.00316.69
7.4.80.0150.00319.39
7.4.70.0140.00316.69
7.4.60.0070.01116.68
7.4.50.0040.00416.68
7.4.40.0070.00722.77
7.4.30.0030.01616.63
7.4.00.0060.00915.12
7.3.330.0060.00013.37
7.3.320.0050.00013.44
7.3.310.0040.00416.61
7.3.300.0070.00016.34
7.3.290.0100.00716.54
7.3.280.0060.00916.57
7.3.270.0120.00617.40
7.3.260.0080.01018.24
7.3.250.0090.01216.53
7.3.240.0060.01216.45
7.3.230.0100.01016.65
7.3.210.0100.01416.58
7.3.200.0180.00419.39
7.3.190.0120.00916.76
7.3.180.0120.01016.74
7.3.170.0170.00016.77
7.3.160.0110.00716.58
7.3.120.0040.01414.87
7.3.00.0030.01316.54
7.2.330.0060.01216.61
7.2.320.0100.01416.87
7.2.310.0120.00916.80
7.2.300.0120.00616.97
7.2.290.0120.00616.80
7.2.130.0100.00317.18
7.2.120.0000.01217.22
7.2.110.0070.01017.07
7.2.100.0040.00817.22
7.2.90.0030.01016.79
7.2.80.0070.00716.85
7.2.70.0060.00617.25
7.2.60.0110.00517.06
7.2.50.0070.00317.34
7.2.40.0060.00617.21
7.2.30.0030.00917.24
7.2.20.0070.00717.29
7.2.10.0080.00416.83
7.2.00.0080.00518.51
7.1.250.0120.00316.00
7.1.240.0060.00616.06
7.1.230.0030.00716.19
7.1.220.0100.00716.05
7.1.210.0070.00416.17
7.1.200.0090.00615.70
7.1.190.0100.00716.00
7.1.180.0060.00315.84
7.1.170.0090.00016.01
7.1.160.0060.00615.96
7.1.150.0040.00716.05
7.1.140.0100.00315.75
7.1.130.0040.01115.88
7.1.120.0000.00916.14
7.1.110.0090.00616.13
7.1.100.0040.00917.21
7.1.90.0070.00716.06
7.1.80.0050.00516.05
7.1.70.0000.01116.64
7.1.60.0090.00917.52
7.1.50.0050.01216.48
7.1.40.0000.01016.18
7.1.30.0070.00316.05
7.1.20.0040.00715.89
7.1.10.0060.00616.00
7.1.00.0050.02319.36
7.0.330.0060.00315.60
7.0.320.0070.00715.58
7.0.310.0070.00715.61
7.0.300.0100.00315.80
7.0.290.0000.01315.61
7.0.280.0090.00315.32
7.0.270.0130.00315.81
7.0.260.0030.00915.61
7.0.250.0040.00715.69
7.0.240.0030.00615.85
7.0.230.0030.00915.77
7.0.220.0070.00715.50
7.0.210.0040.01115.76
7.0.200.0050.00716.31
7.0.190.0000.01315.63
7.0.180.0060.00315.69
7.0.170.0000.00915.49
7.0.160.0030.01015.61
7.0.150.0070.00715.59
7.0.140.0000.04619.13
7.0.130.0060.00615.36
7.0.120.0030.00915.60
7.0.110.0070.04518.09
7.0.100.0030.02517.92
7.0.90.0050.03117.96
7.0.80.0050.02317.94
7.0.70.0050.02418.01
7.0.60.0050.02817.99
7.0.50.0100.02718.15
7.0.40.0100.01816.99
7.0.30.0040.02717.05
7.0.20.0130.01716.76
7.0.10.0050.02316.93
7.0.00.0060.02016.93
5.6.380.0030.00914.21
5.6.370.0030.00814.67
5.6.360.0030.01014.56
5.6.350.0070.00414.40
5.6.340.0060.00614.05
5.6.330.0000.01414.39
5.6.320.0080.00414.32
5.6.310.0060.00614.74
5.6.300.0030.00614.67
5.6.290.0060.00914.57
5.6.280.0070.03917.78
5.6.270.0060.01214.79
5.6.260.0020.04017.72
5.6.250.0030.02317.69
5.6.240.0040.02117.72
5.6.230.0070.02317.72
5.6.220.0050.02317.84
5.6.210.0030.02417.70
5.6.200.0040.02917.71
5.6.190.0020.02617.80
5.6.180.0060.03017.73
5.6.170.0050.02417.78
5.6.160.0080.02317.78
5.6.150.0050.02317.63
5.6.140.0060.02517.54
5.6.130.0050.02217.71
5.6.120.0030.02417.84
5.6.110.0070.02517.68
5.6.100.0070.04617.75
5.6.90.0030.04317.67
5.6.80.0100.03917.35
5.6.70.0070.04217.42
5.6.60.0020.04417.24
5.6.50.0090.03917.25
5.6.40.0080.04117.34
5.6.30.0050.03417.42
5.6.20.0080.04517.35
5.6.10.0070.04017.28
5.6.00.0080.03817.38
5.5.380.0050.03216.01
5.5.370.0020.02815.94
5.5.360.0020.03516.12
5.5.350.0050.02216.08
5.5.340.0070.01816.14
5.5.330.0060.03016.19
5.5.320.0060.02316.38
5.5.310.0030.02316.31
5.5.300.0080.02016.26
5.5.290.0030.04116.32
5.5.280.0080.02016.31
5.5.270.0070.03416.25
5.5.260.0070.02716.16
5.5.250.0050.04416.08
5.5.240.0020.04116.08
5.5.230.0050.04616.03
5.5.220.0050.04315.90
5.5.210.0100.04016.02
5.5.200.0100.03216.05
5.5.190.0050.03515.87
5.5.180.0100.03815.92
5.5.170.0030.01011.18
5.5.160.0080.04115.92
5.5.150.0080.04015.95
5.5.140.0070.02715.85
5.5.130.0090.03915.83
5.5.120.0080.02515.90
5.5.110.0050.04416.03
5.5.100.0060.04516.08
5.5.90.0070.02315.92
5.5.80.0110.02815.96
5.5.70.0070.04615.83
5.5.60.0090.03815.90
5.5.50.0110.03915.89
5.5.40.0070.03715.92
5.5.30.0040.04115.79
5.5.20.0120.04015.94
5.5.10.0020.04915.77
5.5.00.0020.04115.78
5.4.450.0020.02815.47
5.4.440.0010.02315.45
5.4.430.0040.03715.61
5.4.420.0020.03815.64
5.4.410.0000.04315.53
5.4.400.0050.04115.32
5.4.390.0040.04415.45
5.4.380.0050.03815.46
5.4.370.0130.03515.51
5.4.360.0080.03615.31
5.4.350.0060.04115.36
5.4.340.0030.04315.45
5.4.330.0000.01411.34
5.4.320.0050.04115.27
5.4.310.0120.03615.37
5.4.300.0100.03515.43
5.4.290.0070.04115.22
5.4.280.0050.04115.46
5.4.270.0040.04215.45
5.4.260.0030.02815.36
5.4.250.0030.03715.37
5.4.240.0080.03215.33
5.4.230.0080.04315.29
5.4.220.0120.03215.28
5.4.210.0030.04015.20
5.4.200.0020.04315.36
5.4.190.0050.04415.28
5.4.180.0050.04315.41
5.4.170.0050.04215.23
5.4.160.0100.02315.28
5.4.150.0130.03315.38
5.4.140.0110.03414.05
5.4.130.0070.02714.02
5.4.120.0080.03814.10
5.4.110.0110.03514.04
5.4.100.0090.03413.96
5.4.90.0080.03813.95
5.4.80.0030.04414.17
5.4.70.0070.03714.00
5.4.60.0080.03814.06
5.4.50.0110.03513.96
5.4.40.0080.02714.06
5.4.30.0030.04314.05
5.4.20.0060.03714.01
5.4.10.0050.04214.08
5.4.00.0050.02713.81
5.3.290.0060.03813.09
5.3.280.0030.04713.03
5.3.270.0070.04012.95
5.3.260.0060.03812.97
5.3.250.0070.03513.06
5.3.240.0050.04012.99
5.3.230.0070.02513.00
5.3.220.0090.03712.87
5.3.210.0080.04013.01
5.3.200.0090.03712.97
5.3.190.0020.02713.09
5.3.180.0130.03213.04
5.3.170.0020.02713.01
5.3.160.0030.02312.97
5.3.150.0050.04413.01
5.3.140.0070.04012.98
5.3.130.0070.04012.97
5.3.120.0060.03513.07
5.3.110.0080.03813.00
5.3.100.0100.03712.69
5.3.90.0020.04512.66
5.3.80.0100.03412.68
5.3.70.0000.04212.73
5.3.60.0050.04312.59
5.3.50.0080.03912.69
5.3.40.0070.03712.62
5.3.30.0080.03712.64
5.3.20.0070.04212.49
5.3.10.0080.03612.48
5.3.00.0070.03612.63
5.2.170.0060.03111.52
5.2.160.0100.03011.52
5.2.150.0050.03511.52
5.2.140.0060.03211.52
5.2.130.0110.02511.52
5.2.120.0030.02611.52
5.2.110.0070.03111.52
5.2.100.0020.03511.52
5.2.90.0080.02811.52
5.2.80.0050.03511.52
5.2.70.0030.03511.52
5.2.60.0100.02511.52
5.2.50.0100.02211.52
5.2.40.0050.03111.52
5.2.30.0050.02411.52
5.2.20.0050.03311.52
5.2.10.0080.03011.52
5.2.00.0040.03211.52
5.1.60.0060.02811.52
5.1.50.0070.02911.52
5.1.40.0030.02811.52
5.1.30.0030.02711.52
5.1.20.0030.02911.52
5.1.10.0000.03411.52
5.1.00.0050.03011.52
5.0.50.0050.02311.52
5.0.40.0030.01811.52
5.0.30.0030.02311.52
5.0.20.0060.02011.52
5.0.10.0050.02211.52
5.0.00.0030.03511.52
4.4.90.0040.02011.52
4.4.80.0030.01911.52
4.4.70.0060.01211.52
4.4.60.0050.01511.52
4.4.50.0000.02311.52
4.4.40.0030.02811.52
4.4.30.0010.02111.52
4.4.20.0030.01811.52
4.4.10.0030.01711.52
4.4.00.0020.02811.52
4.3.110.0050.01711.52
4.3.100.0020.02011.52
4.3.90.0040.01711.52
4.3.80.0030.02811.52
4.3.70.0040.01311.52
4.3.60.0000.01311.52
4.3.50.0030.01511.52
4.3.40.0070.02511.52
4.3.30.0020.02011.52
4.3.20.0040.01311.52
4.3.10.0020.02011.52
4.3.00.0020.02011.52

preferences:
44.36 ms | 401 KiB | 5 Q