3v4l.org

run code in 300+ PHP versions simultaneously
<?php    if(isset($_GET['address'])) {        $url = "http://maps.googleapis.com/maps/api/geocode/xml?address=".$_GET['address']."&sensor=true";        $xml = simplexml_load_file($url,NULL, LIBXML_NOCDATA);        if($xml->status == "ZERO_RESULTS") {            echo "Geen resultaten gevonden!";        } else {            echo "<pre>".print_r($xml->result->geometry->location,1)."</pre>";                     }    } else {        echo "Je vergeet een adres in de URL in te vullen. Klik eens bijvoorbeeld <a href='locationcheck.php?address=amsterdam,marnixlaan'>hier</a>.";    }            ?>

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.0040.01118.18
8.3.50.0130.00822.71
8.3.40.0110.00318.67
8.3.30.0030.01018.93
8.3.20.0040.00420.39
8.3.10.0040.00421.69
8.3.00.0100.00017.88
8.2.180.0110.00718.25
8.2.170.0070.01422.96
8.2.160.0100.00320.52
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0030.01426.16
8.2.120.0070.00021.09
8.2.110.0030.00722.18
8.2.100.0040.00817.71
8.2.90.0000.00819.09
8.2.80.0030.00517.97
8.2.70.0040.00717.38
8.2.60.0100.00417.68
8.2.50.0040.00418.07
8.2.40.0030.00618.09
8.2.30.0000.00717.98
8.2.20.0000.00817.55
8.2.10.0050.00317.96
8.2.00.0000.00717.54
8.1.280.0090.00625.92
8.1.270.0000.00823.91
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00020.71
8.1.230.0040.00817.63
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0040.00418.59
8.1.160.0050.00221.95
8.1.150.0040.00418.75
8.1.140.0080.00017.31
8.1.130.0070.00017.75
8.1.120.0070.00017.22
8.1.110.0050.00317.33
8.1.100.0000.00717.34
8.1.90.0000.00717.29
8.1.80.0030.00517.33
8.1.70.0080.00017.29
8.1.60.0040.00417.45
8.1.50.0000.00817.37
8.1.40.0000.00817.36
8.1.30.0040.00417.34
8.1.20.0030.00617.43
8.1.10.0040.00417.41
8.1.00.0000.00717.34
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0070.00018.37
8.0.270.0000.00717.20
8.0.260.0030.00317.19
8.0.250.0000.00716.82
8.0.240.0040.00416.76
8.0.230.0000.00716.86
8.0.220.0000.00716.80
8.0.210.0080.00016.72
8.0.200.0000.00616.73
8.0.190.0000.00716.82
8.0.180.0060.00316.77
8.0.170.0000.00716.81
8.0.160.0040.00716.83
8.0.150.0070.00016.70
8.0.140.0040.00416.72
8.0.130.0060.00013.38
8.0.120.0080.00016.70
8.0.110.0070.00016.66
8.0.100.0000.00716.79
8.0.90.0000.00716.64
8.0.80.0090.00616.70
8.0.70.0040.00416.69
8.0.60.0040.00416.78
8.0.50.0050.00216.60
8.0.30.0150.00616.80
8.0.20.0130.00617.40
8.0.10.0040.00416.90
8.0.00.0090.00816.70
7.4.330.0070.00015.14
7.4.320.0030.00316.28
7.4.300.0030.00316.45
7.4.290.0030.00316.28
7.4.280.0030.00316.49
7.4.270.0000.00716.42
7.4.260.0030.00316.45
7.4.250.0050.00216.41
7.4.240.0030.00316.41
7.4.230.0030.00316.50
7.4.220.0130.00416.39
7.4.210.0030.01316.34
7.4.200.0030.00516.49
7.4.160.0070.01016.34
7.4.150.0110.00817.40
7.4.140.0140.00317.86
7.4.130.0060.01016.47
7.4.120.0100.01016.42
7.4.110.0030.01816.32
7.4.100.0070.01016.27
7.4.90.0100.00716.55
7.4.80.0200.00319.39
7.4.70.0100.00716.30
7.4.60.0100.00716.56
7.4.50.0030.00316.30
7.4.40.0030.01316.50
7.4.30.0120.00916.54
7.3.330.0040.00413.22
7.3.320.0020.00212.95
7.3.310.0070.00016.23
7.3.300.0000.00716.12
7.3.290.0050.01016.18
7.3.280.0120.00316.11
7.3.270.0130.00317.40
7.3.260.0100.00716.25
7.3.250.0090.00916.22
7.3.240.0130.01016.29
7.3.230.0030.01316.47
7.3.210.0120.00416.18
7.3.200.0100.00716.28
7.3.190.0100.01016.50
7.3.180.0150.00716.20
7.3.170.0000.02116.42
7.3.160.0090.00816.22
7.2.330.0060.01116.39
7.2.320.0100.00716.40
7.2.310.0070.01016.29
7.2.300.0060.01016.29
7.2.290.0040.01516.39
5.4.320.0100.03512.45
5.4.310.0060.03812.45
5.4.300.0090.03812.45
5.4.290.0070.04312.45
5.4.280.0080.03912.35
5.4.270.0050.04012.35
5.4.260.0070.03712.35
5.4.250.0050.03812.35
5.4.240.0040.03912.34
5.4.230.0070.04112.34
5.4.220.0070.03512.34
5.4.210.0040.03612.34
5.4.200.0060.03712.34
5.4.190.0040.03812.33
5.4.180.0050.03912.33
5.4.170.0060.03712.35
5.4.160.0050.03812.34
5.4.150.0070.03512.34
5.4.140.0040.03912.02
5.4.130.0050.03612.01
5.4.120.0050.03811.96
5.4.110.0070.03511.96
5.4.100.0060.03811.96
5.4.90.0080.04111.96
5.4.80.0050.03811.96
5.4.70.0090.03511.96
5.4.60.0080.03611.96
5.4.50.0050.03611.96
5.4.40.0070.04111.95
5.4.30.0080.03811.94
5.4.20.0050.03911.95
5.4.10.0060.03411.95
5.4.00.0080.03711.44
5.3.290.0060.04012.80
5.3.280.0070.03912.71
5.3.270.0100.03612.72
5.3.260.0070.04112.72
5.3.250.0070.03812.72
5.3.240.0080.03412.72
5.3.230.0040.04412.71
5.3.220.0050.04712.68
5.3.210.0090.03712.68
5.3.200.0080.03512.68
5.3.190.0050.04412.68
5.3.180.0070.03512.67
5.3.170.0050.03812.67
5.3.160.0060.03912.67
5.3.150.0040.03912.67
5.3.140.0050.04112.66
5.3.130.0080.04012.66
5.3.120.0070.03812.66
5.3.110.0070.03912.66
5.3.100.0070.04112.12
5.3.90.0040.04212.08
5.3.80.0060.04212.08
5.3.70.0060.03512.07
5.3.60.0100.03712.06
5.3.50.0040.03612.00
5.3.40.0090.03512.00
5.3.30.0070.03411.95
5.3.20.0060.03911.71
5.3.10.0070.03811.69
5.3.00.0040.04011.67

preferences:
36.87 ms | 401 KiB | 5 Q