3v4l.org

run code in 300+ PHP versions simultaneously
<?php $LatLngList = ""; $markers = ""; $contact_informatie = ""; $contacts["berlaar"]["x"] = "51.08475"; $contacts["berlaar"]["y"] = "4.65756"; $contacts["berlaar"]["straat"] = "Aarschotsebaan 140"; $contacts["berlaar"]["gemeente"] = "2590 Berlaar"; $contacts["berlaar"]["tel"] = "015 75 51 00"; $contacts["berlaar"]["tekst"] = "Openingsuren: Zomerperiode 1/3 tot 15/10"; $contacts["berlaar"]["openingsuren"]["ma"] = "10-17u"; $contacts["berlaar"]["openingsuren"]["di"] = "sluitingsdag"; $contacts["berlaar"]["openingsuren"]["woe"] = "13-18u"; $contacts["berlaar"]["openingsuren"]["do"] = "10-17u"; $contacts["berlaar"]["openingsuren"]["vrij"] = "10-17u"; $contacts["berlaar"]["openingsuren"]["zat"] = "10-16u"; $contacts["genk"]["x"] = "50.97269"; $contacts["genk"]["y"] = "5.51706"; $contacts["genk"]["straat"] = "Weg naar As 168"; $contacts["genk"]["gemeente"] = "3600 Genk"; $contacts["genk"]["tel"] = "089 35 68 30"; $contacts["genk"]["tekst"] = "Openingsuren: Zomerperiode 1/3 tot 15/10"; $contacts["genk"]["openingsuren"]["ma"] = "sluitingsdag"; $contacts["genk"]["openingsuren"]["di"] = "10-18u"; $contacts["genk"]["openingsuren"]["woe"] = "13-18u"; $contacts["genk"]["openingsuren"]["do"] = "13-18u"; $contacts["genk"]["openingsuren"]["vrij"] = "10-18u"; $contacts["genk"]["openingsuren"]["zat"] = "10-16u"; $contacts["weelde"]["x"] = "51.41312"; $contacts["weelde"]["y"] = "5.01571"; $contacts["weelde"]["straat"] = "Weeldestraat 102"; $contacts["weelde"]["gemeente"] = "2381 Weelde"; $contacts["weelde"]["tel"] = "014 65 95 45"; $contacts["weelde"]["tekst"] = "Openingsuren: Zomerperiode 1/3 tot 15/10"; $contacts["weelde"]["openingsuren"]["ma"] = "10-17u"; $contacts["weelde"]["openingsuren"]["di"] = "sluitingsdag"; $contacts["weelde"]["openingsuren"]["woe"] = "13-18u"; $contacts["weelde"]["openingsuren"]["do"] = "10-17u"; $contacts["weelde"]["openingsuren"]["vrij"] = "10-17u"; $contacts["weelde"]["openingsuren"]["zat"] = "10-16u"; $contacts["kessel"]["x"] = "51.28544"; $contacts["kessel"]["y"] = "6.03627"; $contacts["kessel"]["straat"] = "Karreweg Noord 18"; $contacts["kessel"]["gemeente"] = "5995 ME Kessel"; $contacts["kessel"]["tel"] = "077 4622952"; $contacts["kessel"]["tekst"] = "Openingsuren: Zomerperiode 1/3 tot 15/10"; $contacts["kessel"]["openingsuren"]["ma"] = "08-17u"; $contacts["kessel"]["openingsuren"]["di"] = "08-17u"; $contacts["kessel"]["openingsuren"]["woe"] = "08-17u"; $contacts["kessel"]["openingsuren"]["do"] = "08-17u"; $contacts["kessel"]["openingsuren"]["vrij"] = "08-17u"; $contacts["kessel"]["openingsuren"]["zat"] = "09-15u"; //maken van arraylist voor de bounds $teller = 1; foreach ($contacts as $key => $value) { if ($teller != 1) { $LatLngList .= ", "; } $LatLngList .= "new google.maps.LatLng (" . $contacts[$key]["x"] . ", " . $contacts[$key]["y"] . ")"; $markers .= " var image" . $teller . " = ''; var myLatLng" . $teller . " = new google.maps.LatLng(" . $contacts[$key]["x"] . ", " . $contacts[$key]["y"] . "); var marker" . $teller . " = new google.maps.Marker({ position: myLatLng" . $teller . ", map: map, icon: '../images/contact/contact_icoon_kaart.png' });"; $teller++; $contact_informatie .= "<div class='contact_punt'>"; $contact_informatie .= "<h2 class='medium_orange'>" . strtoupper($key) . "</h2>"; $contact_informatie .= "<p class='contact_contactgegevens'>" . $contacts[$key]["straat"] . "</p>"; $contact_informatie .= "<p class='contact_contactgegevens'>" . $contacts[$key]["gemeente"] . "</p>"; $contact_informatie .= "<p class='contact_contactgegevens'>" . $contacts[$key]["tel"] . "</p>"; $contact_informatie .= "<p class='contact_contactgegevens'>" . $contacts[$key]["tekst"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>ma " . $contacts[$key]["openingsuren"]["ma"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>di " . $contacts[$key]["openingsuren"]["di"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>woe " . $contacts[$key]["openingsuren"]["woe"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>do " . $contacts[$key]["openingsuren"]["do"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>vrij " . $contacts[$key]["openingsuren"]["vrij"] . "</p>"; $contact_informatie .= "<p class='contact_openingsuren'>zat " . $contacts[$key]["openingsuren"]["zat"] . "</p>"; $contact_informatie .= "</div>"; } ?>

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.0150.00416.88
8.3.50.0060.00918.28
8.3.40.0090.00618.80
8.3.30.0130.00319.21
8.3.20.0050.00220.20
8.3.10.0080.00023.71
8.3.00.0040.00420.83
8.2.180.0090.00618.55
8.2.170.0150.00322.96
8.2.160.0140.00020.70
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0080.00020.92
8.2.110.0030.00622.25
8.2.100.0090.00318.03
8.2.90.0060.00319.48
8.2.80.0040.00417.97
8.2.70.0060.00617.63
8.2.60.0080.00018.05
8.2.50.0040.00418.07
8.2.40.0050.00518.22
8.2.30.0070.00018.51
8.2.20.0000.00817.88
8.2.10.0050.00318.38
8.2.00.0000.00817.75
8.1.270.0040.00423.98
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00322.19
8.1.230.0100.00019.29
8.1.220.0040.00417.88
8.1.210.0080.00018.77
8.1.200.0030.00617.47
8.1.190.0080.00017.25
8.1.180.0090.00018.10
8.1.170.0000.00818.69
8.1.160.0000.00722.17
8.1.150.0040.00418.83
8.1.140.0000.00717.45
8.1.130.0050.00217.86
8.1.120.0070.00017.48
8.1.110.0050.00517.51
8.1.100.0040.00417.46
8.1.90.0040.00417.50
8.1.80.0070.00017.59
8.1.70.0000.00717.44
8.1.60.0000.00817.61
8.1.50.0030.00617.57
8.1.40.0000.00817.53
8.1.30.0030.00517.73
8.1.20.0040.00417.82
8.1.10.0050.00317.61
8.1.00.0030.00517.59
8.0.300.0000.00818.77
8.0.290.0030.00617.40
8.0.280.0070.00018.57
8.0.270.0040.00417.30
8.0.260.0030.00317.39
8.0.250.0000.00717.05
8.0.240.0030.00316.97
8.0.230.0000.00716.99
8.0.220.0000.00717.01
8.0.210.0000.00817.00
8.0.200.0000.00617.11
8.0.190.0040.00417.04
8.0.180.0000.00717.06
8.0.170.0000.00817.03
8.0.160.0040.00417.05
8.0.150.0000.00716.95
8.0.140.0040.00716.99
8.0.130.0000.00613.43
8.0.120.0040.00416.92
8.0.110.0070.00017.03
8.0.100.0000.00816.99
8.0.90.0040.00416.93
8.0.80.0030.01316.99
8.0.70.0040.00416.82
8.0.60.0020.00517.05
8.0.50.0080.00016.82
8.0.30.0140.00517.04
8.0.20.0120.00817.40
8.0.10.0040.00416.95
8.0.00.0060.01316.93
7.4.330.0050.00015.00
7.4.320.0030.00316.59
7.4.300.0040.00416.65
7.4.290.0030.00316.70
7.4.280.0030.00516.77
7.4.270.0030.00416.55
7.4.260.0000.00716.71
7.4.250.0020.00516.57
7.4.240.0020.00516.63
7.4.230.0000.00716.55
7.4.220.0110.01116.81
7.4.210.0090.00616.67
7.4.200.0070.00016.71
7.4.190.0030.00316.53
7.4.160.0100.00616.66
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0080.00816.54
7.4.120.0150.00616.63
7.4.110.0130.00616.53
7.4.100.0070.01116.72
7.4.90.0070.01416.66
7.4.80.0130.01019.39
7.4.70.0080.01116.61
7.4.60.0150.00316.42
7.4.50.0000.00516.70
7.4.40.0060.01716.51
7.4.30.0130.00316.83
7.4.00.0030.01415.17
7.3.330.0060.00013.17
7.3.320.0000.00613.36
7.3.310.0040.00416.41
7.3.300.0030.00316.48
7.3.290.0090.01216.45
7.3.280.0080.01116.42
7.3.270.0130.00317.40
7.3.260.0050.01416.57
7.3.250.0100.01116.54
7.3.240.0120.01216.34
7.3.230.0190.00016.52
7.3.210.0080.00916.56
7.3.200.0040.01316.42
7.3.190.0130.00516.58
7.3.180.0060.01016.62
7.3.170.0110.01116.44
7.3.160.0130.01016.85
7.3.120.0080.01015.04
7.3.110.0090.00314.65
7.3.100.0000.00915.17
7.3.90.0120.00314.68
7.3.80.0070.00314.87
7.3.70.0070.00715.07
7.3.60.0120.00314.89
7.3.50.0000.01314.98
7.3.40.0100.00615.00
7.3.30.0090.00314.90
7.3.20.0000.00916.71
7.3.10.0070.00716.57
7.3.00.0060.01216.68
7.2.330.0000.01916.91
7.2.320.0130.00716.97
7.2.310.0160.00416.84
7.2.300.0040.01416.88
7.2.290.0150.00816.97
7.2.250.0040.01515.23
7.2.240.0070.01315.04
7.2.230.0070.01115.34
7.2.220.0060.00915.13
7.2.210.0090.00615.02
7.2.200.0040.00715.26
7.2.190.0100.00615.12
7.2.180.0000.01715.08
7.2.170.0070.00715.13
7.2.60.0060.00916.95
7.2.50.0070.00716.83
7.1.330.0100.00715.40
7.1.320.0000.01115.88
7.1.310.0120.00315.85
7.1.300.0060.01215.71
7.1.290.0100.00615.89
7.1.280.0070.01015.72
7.1.270.0130.00015.73
7.1.260.0070.00715.89
7.1.200.0070.00715.75
7.1.70.0080.00017.16
7.1.60.0070.01419.46
7.1.50.0170.00716.84
7.1.00.0000.08022.35
7.0.200.0060.00316.81
7.0.140.0000.07722.00
7.0.60.0170.06719.98
7.0.50.0030.06717.91
7.0.40.0070.05720.19
7.0.30.0300.07320.17
7.0.20.0230.07720.21
7.0.10.0070.05320.33
7.0.00.0030.05019.99
5.6.280.0070.07021.13
5.6.210.0070.08720.79
5.6.200.0100.08018.13
5.6.190.0170.07020.27
5.6.180.0100.06720.35
5.6.170.0400.07720.40
5.6.160.0100.08020.48
5.6.150.0100.06718.21
5.6.140.0030.07018.20
5.6.130.0070.08318.26
5.6.120.0070.08721.01
5.6.110.0170.06321.09
5.6.100.0070.07721.08
5.6.90.0170.07321.00
5.6.80.0030.06720.43
5.5.350.0070.08020.39
5.5.340.0130.07717.96
5.5.330.0030.04320.19
5.5.320.0300.07720.21
5.5.310.0270.08020.24
5.5.300.0100.07017.98
5.5.290.0070.06318.02
5.5.280.0000.05320.78
5.5.270.0030.04321.02
5.5.260.0130.08020.89
5.5.250.0070.04720.71
5.5.240.0030.07320.19
5.4.450.0300.06719.13
5.4.440.0670.06019.54
5.4.430.1130.07319.33
5.4.420.1300.07019.34
5.4.410.0500.05719.42
5.4.400.0130.04719.22
5.4.390.0970.07719.34
5.4.380.0070.06018.77
5.4.370.0100.05718.52
5.4.360.0070.05718.52
5.4.350.0100.07018.77
5.4.340.0130.06318.77
5.4.320.0040.03812.50
5.4.310.0090.03612.51
5.4.300.0100.04912.50
5.4.290.0090.05412.51
5.4.280.0130.04712.40
5.4.270.0090.04812.40
5.4.260.0060.05312.40
5.4.250.0060.05212.40
5.4.240.0080.05012.40
5.4.230.0080.05112.39
5.4.220.0080.05012.39
5.4.210.0110.04512.39
5.4.200.0060.05212.39
5.4.190.0070.05012.39
5.4.180.0090.04812.39
5.4.170.0050.05212.40
5.4.160.0100.04512.39
5.4.150.0060.04812.39
5.4.140.0050.05212.07
5.4.130.0070.04612.06
5.4.120.0090.04812.02
5.4.110.0050.05112.02
5.4.100.0060.04712.02
5.4.90.0090.04912.02
5.4.80.0120.04712.02
5.4.70.0100.04512.01
5.4.60.0110.04312.01
5.4.50.0070.04112.02
5.4.40.0070.03712.00
5.4.30.0100.03412.00
5.4.20.0080.04612.00
5.4.10.0070.04312.00
5.4.00.0080.04211.49
5.3.290.0060.03912.80
5.3.280.0060.04012.71
5.3.270.0090.04512.72
5.3.260.0080.03812.72
5.3.250.0090.03712.72
5.3.240.0070.04012.72
5.3.230.0070.04212.71
5.3.220.0120.05112.68
5.3.210.0090.05912.68
5.3.200.0180.04512.68
5.3.190.0040.04412.68
5.3.180.0060.04112.67
5.3.170.0260.06112.67
5.3.160.0120.05112.67
5.3.150.0120.04812.68
5.3.140.0070.05312.66
5.3.130.0050.05612.66
5.3.120.0130.04812.65
5.3.110.0110.03912.66
5.3.100.0070.03612.13
5.3.90.0110.03112.11
5.3.80.0070.03512.11
5.3.70.0050.03712.11
5.3.60.0060.03612.09
5.3.50.0080.03812.04
5.3.40.0090.04212.04
5.3.30.0080.04012.00
5.3.20.0050.03811.78
5.3.10.0050.03911.74
5.3.00.0060.03511.73
5.2.170.0060.0309.24
5.2.160.0010.0359.24
5.2.150.0070.0299.24
5.2.140.0080.0309.23
5.2.130.0060.0309.20
5.2.120.0050.0299.20
5.2.110.0060.0299.20
5.2.100.0040.0319.20
5.2.90.0030.0319.20
5.2.80.0050.0329.19
5.2.70.0040.0329.19
5.2.60.0030.0329.14
5.2.50.0070.0309.11
5.2.40.0030.0319.09
5.2.30.0020.0339.07
5.2.20.0080.0299.05
5.2.10.0050.0279.00
5.2.00.0060.0278.86
5.1.60.0110.0188.16
5.1.50.0020.0288.16
5.1.40.0050.0248.14
5.1.30.0030.0288.50
5.1.20.0040.0288.51
5.1.10.0030.0278.23
5.1.00.0040.0288.24
5.0.50.0030.0226.73
5.0.40.0040.0206.59
5.0.30.0050.0346.41
5.0.20.0060.0226.37
5.0.10.0060.0226.35
5.0.00.0030.0396.33
4.4.90.0030.0204.78
4.4.80.0030.0174.75
4.4.70.0030.0194.76
4.4.60.0030.0174.76
4.4.50.0030.0234.77
4.4.40.0070.0234.74
4.4.30.0040.0204.76
4.4.20.0020.0374.84
4.4.10.0060.0174.85
4.4.00.0060.0324.77
4.3.110.0070.0244.67
4.3.100.0090.0334.66
4.3.90.0050.0154.64
4.3.80.0030.0364.63
4.3.70.0050.0254.64
4.3.60.0030.0224.64
4.3.50.0040.0224.63
4.3.40.0040.0334.59
4.3.30.0030.0243.40
4.3.20.0010.0203.38
4.3.10.0050.0143.33
4.3.00.0000.0237.44

preferences:
88.63 ms | 400 KiB | 5 Q