3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @return array associative or empty array of key value pairs of meta tags * meta_name => meta_content */ public function seoMetaContent() { // <meta name="$key" /> => $this->seo[$value] $meta = array( 'title' => 'meta_title', 'description' => 'meta_description', 'subject' => 'meta_subject', 'keywords' => 'meta_keywords', 'copyright' => 'domain', 'ICBM' => 'ICBM', 'geo.position' => 'ICBM', 'geo.placename' => 'placename', 'geo.region' => 'geo-region', 'zipcode' => 'zipcode', 'city' => 'city', 'state' => 'state', 'country' => 'country', 'google-site-verification' => 'google_site_verification' ); $seo = $this->seo; $map = function($r) use($seo) { return ($seo[$r]) ?: null; }; return ($seo) ? array_filter(array_map($map, $meta)) : array(); }

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)
5.6.110.0030.08321.07
5.6.100.0130.07721.02
5.6.90.0200.06020.99
5.6.80.0000.08720.40
5.5.270.0070.06020.97
5.5.260.0030.05020.86
5.5.250.0070.06320.68
5.5.240.0330.07020.03
5.4.430.0000.04019.48
5.4.420.0000.04019.41
5.4.410.0000.03719.18
5.4.400.0000.03718.98
5.4.390.0000.04319.16
5.4.380.0000.03719.16
5.4.370.0000.03718.87
5.4.360.0000.03718.87
5.4.350.0030.03318.96
5.4.340.0000.03719.09
5.4.320.0070.04018.86
5.4.310.0000.03719.06
5.4.300.0100.07319.24
5.4.290.0070.06019.22
5.4.280.0070.07718.98
5.4.270.0070.07019.24
5.4.260.0070.05019.05
5.4.250.0070.07319.21
5.4.240.0030.06718.98
5.4.230.0000.05319.14
5.4.220.0070.06719.21
5.4.210.0100.07019.07
5.4.200.0070.07019.15
5.4.190.0030.07018.86
5.4.180.0030.06319.21
5.4.170.0000.05319.30
5.4.160.0030.07019.20
5.4.150.0000.04719.20
5.4.140.0070.05716.36
5.4.130.0070.04716.46
5.4.120.0030.07316.35
5.4.110.0070.04316.26
5.4.100.0000.03716.45
5.4.90.0000.06716.25
5.4.80.0100.07016.44
5.4.70.0030.03716.59
5.4.60.0000.05716.53
5.4.50.0000.07016.51
5.4.40.0000.05716.25
5.4.30.0030.06016.23
5.4.20.0000.06316.52
5.4.10.0000.08016.52
5.4.00.0100.06316.16
5.3.290.0000.03714.51
5.3.280.0030.07314.68
5.3.270.0070.05314.45
5.3.260.0070.08014.57
5.3.250.0000.07014.54
5.3.240.0070.06014.65
5.3.230.0000.08314.43
5.3.220.0000.06314.47
5.3.210.0100.06014.52
5.3.200.0030.07314.50
5.3.190.0000.08314.41
5.3.180.0030.03714.53
5.3.170.0000.06314.40
5.3.160.0030.07714.40
5.3.150.0030.07014.65
5.3.140.0070.05014.46
5.3.130.0070.07314.50
5.3.120.0030.07314.44
5.3.110.0030.08014.39
5.3.100.0070.07313.90
5.3.90.0000.07313.96
5.3.80.0000.07313.96
5.3.70.0030.06713.91
5.3.60.0170.06313.84
5.3.50.0030.07713.88
5.3.40.0000.05313.89
5.3.30.0000.07713.86
5.3.20.0100.05713.64
5.3.10.0000.08013.50
5.3.00.0070.06013.41
5.2.170.0000.05013.00
5.2.160.0000.06013.00
5.2.150.0030.03713.00
5.2.140.0030.07013.00
5.2.130.0000.06313.00
5.2.120.0030.03313.00
5.2.110.0030.06013.00
5.2.100.0000.03713.00
5.2.90.0030.04313.00
5.2.80.0030.06013.00
5.2.70.0000.06313.00
5.2.60.0070.05713.00
5.2.50.0070.06013.00
5.2.40.0030.05313.00
5.2.30.0030.05313.00
5.2.20.0000.04013.00
5.2.10.0030.06313.00
5.2.00.0000.05013.00
5.1.60.0000.04013.00
5.1.50.0070.04313.00
5.1.40.0000.05313.00
5.1.30.0100.04313.00
5.1.20.0000.05713.00
5.1.10.0000.05313.00
5.1.00.0070.03713.00
5.0.50.0030.04713.00
5.0.40.0000.04713.00
5.0.30.0000.05013.00
5.0.20.0030.03713.00
5.0.10.0030.04313.00
5.0.00.0000.06313.00
4.4.90.0070.03013.00
4.4.80.0000.02713.00
4.4.70.0000.02713.00
4.4.60.0030.03313.00
4.4.50.0000.02713.00
4.4.40.0030.04313.00
4.4.30.0000.03713.00
4.4.20.0000.02713.00
4.4.10.0030.02713.00
4.4.00.0030.04713.00
4.3.110.0000.02713.00
4.3.100.0070.03013.00
4.3.90.0000.02713.00
4.3.80.0000.03313.00
4.3.70.0000.03713.00
4.3.60.0000.03013.00
4.3.50.0000.03313.00
4.3.40.0070.05013.00
4.3.30.0030.03013.00
4.3.20.0000.03713.00
4.3.10.0000.04013.00
4.3.00.0030.02713.00

preferences:
146.71 ms | 1399 KiB | 7 Q