3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array ( 0 => array ( 'id' => '19', 'Title_EN' => 'Australian Transaction Reports and Analysis Center (AUSTRAC)', 'Link_EN' => 'http://www.austrac.gov.au', 'Title_SP' => NULL, 'Link_SP' => 'http://www.austrac.gov.au', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 1 => array ( 'id' => '5', 'Title_EN' => 'Bank for International Settlements (BIS)', 'Link_EN' => 'http://www.bis.org', 'Title_SP' => 'Bank for International Settlements (BIS)', 'Link_SP' => 'http://www.bis.org', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 2 => array ( 'id' => '7', 'Title_EN' => 'Banking Control Commission of Lebanon', 'Link_EN' => 'http://www.bccl.gov.lb', 'Title_SP' => 'Banking Control Commission of Lebanon', 'Link_SP' => 'http://www.bccl.gov.lb', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 3 => array ( 'id' => '6', 'Title_EN' => 'Banque de France', 'Link_EN' => 'http://www.banque-france.fr', 'Title_SP' => 'Banque de France', 'Link_SP' => 'http://www.banque-france.fr', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 4 => array ( 'id' => '4', 'Title_EN' => 'Banque du Liban (BDL)', 'Link_EN' => 'http://www.bdl.gov.lb', 'Title_SP' => 'Banque du Liban (BDL) (arabic)', 'Link_SP' => 'http://www.bdl.gov.lb', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 5 => array ( 'id' => '18', 'Title_EN' => 'Cellule de Traitement des Informations Financières (CTIF)', 'Link_EN' => 'http://www.ctif-cfi.be', 'Title_SP' => NULL, 'Link_SP' => 'http://www.ctif-cfi.be', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 6 => array ( 'id' => '12', 'Title_EN' => 'Financial Action Task Force on Money Laundering (FATF)', 'Link_EN' => 'http://www.fatf-gafi.org', 'Title_SP' => NULL, 'Link_SP' => 'http://www.fatf-gafi.org', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), 7 => array ( 'id' => '8', 'Title_EN' => 'Financial Crimes Enforcement Network (FinCEN)', 'Link_EN' => 'http://www.fincen.gov', 'Title_SP' => NULL, 'Link_SP' => 'http://www.fincen.gov', 'ShowOnHomepage' => NULL, 'Date' => NULL, ), ); $icon1 = '<i class="fa-angle-left fa"></i>'; $icon2 = '<i class="fa-angle-right fa"></i>'; $count = 0; $lang = 'EN'; $HTML = ''; $totalcount = count($result); foreach ($result as $row) { $Title = $row['Title_'.$lang]; $Link = $row['Link_'.$lang]; if($count++ % 2 == 0) { $HTML .= '<div>'; $HTML .= ' <span class="side1"><a href="'.addhttp($Link).'" target="_blank">'.$icon1.' '.$Title.'</a></span> '; if($totalcount % 2 == 0 && $totalcount==$count) {$HTML .= '</div>';} } else { $HTML .= ' <span class="side2"><a href="'.addhttp($Link).'" target="_blank">'.$Title.' '.$icon2.'</a></span> '; $HTML .= '</div>'; } } echo $HTML; function addhttp($url) { if (!preg_match("~^(?:f|ht)tps?://~i", $url)) { $url = "http://" . $url; } return $url; }

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.0080.01118.55
8.3.50.0060.01016.61
8.3.40.0040.01119.09
8.3.30.0110.00419.04
8.3.20.0060.00320.29
8.3.10.0040.00421.99
8.3.00.0080.00017.93
8.2.180.0120.00318.41
8.2.170.0090.00622.96
8.2.160.0110.00321.32
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00420.52
8.2.120.0090.00026.35
8.2.110.0110.00021.18
8.2.100.0040.00820.67
8.2.90.0000.00820.01
8.2.80.0000.00819.59
8.2.70.0040.00417.80
8.2.60.0050.00318.34
8.2.50.0000.00818.30
8.2.40.0040.00422.29
8.2.30.0040.00421.09
8.2.20.0000.00818.33
8.2.10.0040.00418.42
8.2.00.0040.00418.55
8.1.280.0110.00725.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00022.14
8.1.230.0120.00019.29
8.1.220.0030.00517.77
8.1.210.0060.00318.77
8.1.200.0000.00917.60
8.1.190.0000.00817.48
8.1.180.0030.00618.10
8.1.170.0050.00318.84
8.1.160.0040.00418.96
8.1.150.0040.00420.22
8.1.140.0000.00819.66
8.1.130.0000.00718.98
8.1.120.0050.00317.59
8.1.110.0030.00617.57
8.1.100.0070.00017.71
8.1.90.0080.00017.70
8.1.80.0000.00717.70
8.1.70.0030.00317.66
8.1.60.0030.00517.73
8.1.50.0040.00417.66
8.1.40.0000.00817.75
8.1.30.0040.00417.81
8.1.20.0060.00317.76
8.1.10.0030.00517.85
8.1.00.0040.00417.73
8.0.300.0040.00419.93
8.0.290.0080.00017.00
8.0.280.0040.00418.53
8.0.270.0040.00417.28
8.0.260.0000.00719.14
8.0.250.0070.00017.19
8.0.240.0120.00017.14
8.0.230.0000.00817.12
8.0.220.0030.00317.13
8.0.210.0030.00317.08
8.0.200.0030.00317.06
8.0.190.0000.00717.16
8.0.180.0000.00717.16
8.0.170.0040.00417.08
8.0.160.0000.00717.02
8.0.150.0080.00016.92
8.0.140.0000.00717.07
8.0.130.0000.00513.59
8.0.120.0040.00417.16
8.0.110.0080.00017.12
8.0.100.0050.00316.93
8.0.90.0000.00817.13
8.0.80.0030.01017.11
8.0.70.0040.00417.10
8.0.60.0080.00017.15
8.0.50.0030.00517.05
8.0.30.0090.00717.26
8.0.20.0140.00517.41
8.0.10.0030.00717.14
8.0.00.0100.00716.86
7.4.330.0000.00615.55
7.4.320.0040.00416.89
7.4.300.0000.00816.71
7.4.290.0040.00416.80
7.4.280.0030.00616.62
7.4.270.0000.00716.88
7.4.260.0040.00416.91
7.4.250.0000.00816.74
7.4.240.0040.00416.64
7.4.230.0050.00316.98
7.4.220.0120.01516.83
7.4.210.0130.00716.86
7.4.200.0060.00316.61
7.4.160.0060.01116.68
7.4.150.0060.01317.40
7.4.140.0060.01317.86
7.4.130.0090.00816.79
7.4.120.0150.00816.80
7.4.110.0070.01016.90
7.4.100.0070.01016.63
7.4.90.0070.01016.73
7.4.80.0030.01719.39
7.4.70.0000.01716.61
7.4.60.0100.00616.73
7.4.50.0050.01016.88
7.4.40.0070.01116.79
7.4.30.0060.00916.57
7.4.00.0070.01215.08
7.3.330.0050.00013.29
7.3.320.0030.00313.62
7.3.310.0000.00716.57
7.3.300.0040.00416.56
7.3.290.0130.00316.53
7.3.280.0090.01016.50
7.3.270.0120.00617.40
7.3.260.0150.00716.66
7.3.250.0120.00816.57
7.3.240.0110.00916.73
7.3.230.0070.01316.61
7.3.210.0060.01216.90
7.3.200.0070.01116.64
7.3.190.0090.00916.82
7.3.180.0120.01216.53
7.3.170.0040.01216.82
7.3.160.0100.00716.84
7.3.120.0000.01815.04
7.3.110.0110.00715.01
7.3.100.0070.00714.94
7.3.90.0000.01314.72
7.3.80.0060.00615.16
7.3.70.0070.00315.26
7.3.60.0030.00614.80
7.3.50.0040.01115.10
7.3.40.0030.01315.05
7.3.30.0030.01015.10
7.3.20.0030.00616.62
7.3.10.0000.01416.56
7.3.00.0100.00616.81
7.2.330.0090.00917.04
7.2.320.0130.00617.07
7.2.310.0090.01016.86
7.2.300.0090.00916.88
7.2.290.0090.00916.98
7.2.250.0070.01015.13
7.2.240.0030.01715.62
7.2.230.0040.01415.56
7.2.220.0040.01515.54
7.2.210.0070.00715.39
7.2.200.0000.01615.50
7.2.190.0040.00815.51
7.2.180.0000.01515.14
7.2.170.0100.00315.42
7.2.60.0040.01117.16
7.2.50.0030.00616.99
7.1.330.0090.00615.64
7.1.320.0030.00916.18
7.1.310.0130.00016.02
7.1.300.0090.00016.11
7.1.290.0040.00415.74
7.1.280.0060.00315.82
7.1.270.0080.00415.86
7.1.260.0030.01016.04
7.1.200.0030.00916.13
7.1.70.0000.01617.42
7.1.60.0070.00717.54
7.1.40.0130.01734.64
7.1.30.0200.00734.69
7.1.20.0130.01734.86
7.1.10.0100.00716.63
7.1.00.0130.00316.89
7.0.200.0040.01416.96
7.0.180.0000.01316.57
7.0.170.0030.00716.32
7.0.160.0070.01016.56
7.0.150.0070.01016.17
7.0.140.0100.00316.64
7.0.130.0070.00716.58
7.0.120.0000.01316.71
7.0.110.0270.01314.79
7.0.100.0200.01316.52
7.0.90.0030.01016.54
7.0.80.0270.01714.83
7.0.70.0070.00316.61
7.0.60.0000.01316.43
7.0.50.0000.01016.43
7.0.40.0000.01316.55
7.0.30.0170.01014.92
7.0.20.0030.01016.59
7.0.10.0070.00716.50
7.0.00.0070.00716.46

preferences:
54.21 ms | 400 KiB | 5 Q