3v4l.org

run code in 300+ PHP versions simultaneously
<?php $social_array = array( "facebook" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "twitter" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "linked-in" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "google-plus" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ) ); $html = '<ul>'; foreach ($social_array as $name => $class_array){ $html .= '<li><a href="' . $class_array['url'] . $class_array['handle'] .'" class="' . $class_array['class']. '">'. $name. '</a></li>'; } $html .= '</ul>'; print $html; ?>

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.70.0080.00818.55
8.3.60.0100.00318.30
8.3.50.0120.00622.05
8.3.40.0130.00718.88
8.3.30.0110.00418.63
8.3.20.0040.00418.76
8.3.10.0050.00320.59
8.3.00.0060.00319.26
8.2.180.0110.00418.18
8.2.170.0110.00422.96
8.2.160.0180.00422.13
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0070.00019.96
8.2.110.0060.00322.24
8.2.100.0060.00618.03
8.2.90.0050.00319.22
8.2.80.0000.00817.97
8.2.70.0070.00317.63
8.2.60.0030.00517.92
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0020.00519.85
8.2.20.0030.00517.60
8.2.10.0000.00817.75
8.2.00.0040.00417.75
8.1.280.0070.01025.92
8.1.270.0180.00321.81
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00321.31
8.1.230.0080.00417.64
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.01117.23
8.1.190.0090.00317.23
8.1.180.0030.00618.10
8.1.170.0040.00418.90
8.1.160.0000.00818.90
8.1.150.0040.00418.65
8.1.140.0080.00017.37
8.1.130.0030.00317.85
8.1.120.0040.00417.41
8.1.110.0050.00317.36
8.1.100.0000.00817.52
8.1.90.0080.00017.49
8.1.80.0070.00017.44
8.1.70.0030.00317.43
8.1.60.0030.00517.51
8.1.50.0000.00817.46
8.1.40.0000.00817.41
8.1.30.0030.00517.68
8.1.20.0080.00017.55
8.1.10.0000.00917.45
8.1.00.0090.00017.52
8.0.300.0000.00818.77
8.0.290.0070.00016.63
8.0.280.0000.00718.37
8.0.270.0000.00717.89
8.0.260.0070.00016.87
8.0.250.0030.00316.88
8.0.240.0030.00516.85
8.0.230.0000.00816.87
8.0.220.0030.00316.81
8.0.210.0000.00716.79
8.0.200.0040.00416.95
8.0.190.0040.00416.97
8.0.180.0050.00316.96
8.0.170.0030.00616.78
8.0.160.0070.00016.92
8.0.150.0040.00416.80
8.0.140.0000.00716.86
8.0.130.0030.00313.41
8.0.120.0000.00716.91
8.0.110.0000.00916.77
8.0.100.0000.00816.92
8.0.90.0040.00416.84
8.0.80.0070.00716.89
8.0.70.0000.00716.96
8.0.60.0070.00016.87
8.0.50.0070.00016.84
8.0.30.0090.00917.19
8.0.20.0090.00917.40
8.0.10.0040.00416.92
8.0.00.0170.00316.70
7.4.330.0050.00014.83
7.4.320.0030.00316.41
7.4.300.0000.00716.53
7.4.290.0030.00316.49
7.4.280.0050.00316.56
7.4.270.0040.00416.60
7.4.260.0030.00313.40
7.4.250.0090.00016.64
7.4.240.0050.00216.54
7.4.230.0030.00316.34
7.4.220.0100.01016.65
7.4.210.0060.01016.59
7.4.200.0000.00716.25
7.4.190.0070.00016.73
7.4.160.0160.00716.45
7.4.150.0130.00317.40
7.4.140.0060.01017.86
7.4.130.0080.01116.41
7.4.120.0060.01316.52
7.4.110.0190.00016.64
7.4.100.0090.00916.48
7.4.90.0090.00916.41
7.4.80.0070.01019.04
7.4.70.0060.00916.61
7.4.60.0060.00916.71
7.4.50.0060.00316.34
7.4.40.0080.01122.27
7.4.30.0070.01016.66
7.4.00.0090.00714.70
7.3.330.0000.00513.24
7.3.320.0050.00013.19
7.3.310.0070.00016.18
7.3.300.0030.00316.24
7.3.290.0060.00616.30
7.3.280.0080.00916.26
7.3.270.0060.01517.40
7.3.260.0120.00718.24
7.3.250.0090.01016.33
7.3.240.0130.00316.59
7.3.230.0060.01216.39
7.3.210.0080.01116.50
7.3.200.0100.01019.39
7.3.190.0120.00916.56
7.3.180.0100.00716.31
7.3.170.0120.00416.45
7.3.160.0030.01216.52
7.3.120.0050.01114.90
7.3.110.0000.01815.01
7.3.100.0090.00914.59
7.3.90.0030.01314.67
7.3.80.0030.00914.87
7.3.70.0060.00314.86
7.3.60.0000.00914.68
7.3.50.0030.00914.75
7.3.40.0070.01014.66
7.3.30.0030.00914.91
7.3.20.0090.00616.64
7.3.10.0070.00716.65
7.3.00.0030.00816.73
7.2.330.0080.00816.67
7.2.320.0060.01616.70
7.2.310.0160.00316.70
7.2.300.0110.01116.66
7.2.290.0130.00316.68
7.2.250.0080.01215.24
7.2.240.0030.01614.85
7.2.230.0070.01015.13
7.2.220.0030.00714.86
7.2.210.0040.01215.21
7.2.200.0070.01015.14
7.2.190.0060.00915.13
7.2.180.0060.00815.09
7.2.170.0130.00015.07
7.2.130.0080.00416.91
7.2.120.0060.00616.71
7.2.110.0090.00316.87
7.2.100.0040.00716.86
7.2.90.0090.00316.73
7.2.80.0100.01016.93
7.2.70.0000.01616.90
7.2.60.0060.00616.92
7.2.50.0030.00616.74
7.2.40.0090.00617.09
7.2.30.0060.00917.14
7.2.20.0030.00616.99
7.2.10.0150.00017.07
7.2.00.0040.01118.28
7.1.330.0030.01015.81
7.1.320.0060.00615.86
7.1.310.0040.00415.75
7.1.300.0060.00915.59
7.1.290.0040.01115.88
7.1.280.0070.00315.80
7.1.270.0050.00515.86
7.1.260.0100.00615.62
7.1.250.0100.00715.85
7.1.240.0030.00715.59
7.1.230.0040.00715.80
7.1.220.0110.00415.52
7.1.210.0050.00515.80
7.1.200.0090.00315.76
7.1.190.0100.00315.89
7.1.180.0110.00615.42
7.1.170.0040.00715.88
7.1.160.0030.01015.65
7.1.150.0060.00615.60
7.1.140.0070.01015.45
7.1.130.0070.01015.57
7.1.120.0030.01015.82
7.1.110.0090.00315.86
7.1.100.0010.01116.87
7.1.90.0030.01015.82
7.1.80.0000.00915.68
7.1.70.0020.00916.62
7.1.60.0080.00917.56
7.1.50.0070.01016.35
7.1.40.0000.00915.55
7.1.30.0030.00615.65
7.1.20.0060.00615.71
7.1.10.0040.00415.49
7.1.00.0070.03019.20
7.0.330.0040.00815.53
7.0.320.0040.00815.30
7.0.310.0000.01215.44
7.0.300.0060.00615.22
7.0.290.0000.00915.14
7.0.280.0030.00915.52
7.0.270.0080.00415.60
7.0.260.0120.00615.61
7.0.250.0070.00715.43
7.0.240.0060.00615.50
7.0.230.0000.01015.25
7.0.220.0090.00615.43
7.0.210.0000.01215.43
7.0.200.0040.00716.25
7.0.190.0040.00815.25
7.0.180.0030.00915.52
7.0.170.0040.00415.58
7.0.160.0060.00315.60
7.0.150.0080.00315.48
7.0.140.0070.04018.77
7.0.130.0030.01015.55
7.0.120.0000.01115.55
7.0.110.0070.00415.52
7.0.100.0060.00615.45
7.0.90.0000.01115.59
7.0.80.0070.00315.35
7.0.70.0040.00415.41
7.0.60.0070.04317.73
7.0.50.0040.04416.54
7.0.40.0060.04116.65
7.0.30.0220.03516.67
7.0.20.0150.03816.86
7.0.10.0080.04416.85
7.0.00.0050.04516.86
5.6.380.0040.00714.38
5.6.370.0060.01214.49
5.6.360.0080.00314.36
5.6.350.0070.00714.51
5.6.340.0090.00314.14
5.6.330.0000.00914.36
5.6.320.0030.00614.14
5.6.310.0000.01114.64
5.6.300.0060.00614.29
5.6.290.0060.00314.38
5.6.280.0020.04317.76
5.6.270.0070.00714.36
5.6.260.0080.00314.36
5.6.250.0050.00514.30
5.6.240.0070.00714.60
5.6.230.0000.01214.47
5.6.220.0110.00314.29
5.6.210.0050.04717.39
5.6.200.0030.03016.15
5.6.190.0050.04317.40
5.6.180.1680.02317.32
5.6.170.0190.03017.45
5.6.160.0090.03917.43
5.6.150.0090.03516.22
5.6.140.0050.03316.28
5.6.130.0090.02516.36
5.6.120.0030.03917.82
5.6.110.0120.03917.71
5.6.100.0100.03717.54
5.6.90.0020.02717.79
5.6.80.0080.03017.43
5.6.70.0090.00913.94
5.6.60.0030.00714.09
5.6.50.0060.00914.47
5.6.40.0130.00314.18
5.6.30.0030.01014.18
5.6.20.0040.01114.37
5.6.10.0030.01014.63
5.6.00.0060.00914.43
5.5.380.0060.00311.02
5.5.370.0000.01111.12
5.5.360.0060.00011.02
5.5.350.0230.03515.87
5.5.340.0050.04314.66
5.5.330.0040.02615.51
5.5.320.0100.02615.69
5.5.310.0230.03815.63
5.5.300.0080.02014.66
5.5.290.0030.04414.51
5.5.280.0020.02515.98
5.5.270.0050.03815.88
5.5.260.0030.04416.09
5.5.250.0050.03815.87
5.5.240.0030.04415.68
5.5.230.0030.00611.18
5.5.220.0040.00411.22
5.5.210.0110.00311.27
5.5.200.0000.00711.28
5.5.190.0040.00411.29
5.5.180.0100.00010.72
5.5.170.0030.00611.10
5.5.160.0040.00410.95
5.5.150.0060.00011.18
5.5.140.0090.00311.23
5.5.130.0030.00311.19
5.5.120.0030.00510.99
5.5.110.0040.00411.19
5.5.100.0000.01210.97
5.5.90.0060.00010.91
5.5.80.0000.00610.93
5.5.70.0030.00911.01
5.5.60.0030.00611.29
5.5.50.0070.00011.17
5.5.40.0040.00411.20
5.5.30.0000.00811.19
5.5.20.0080.00010.59
5.5.10.0030.00611.23
5.5.00.0030.00311.19
5.4.450.0020.02315.17
5.4.440.0050.02215.11
5.4.430.0030.03215.14
5.4.420.0020.02915.33
5.4.410.0030.02615.27
5.4.400.0050.02514.89
5.4.390.0050.03215.12
5.4.380.0050.03615.04
5.4.370.0070.02015.00
5.4.360.0030.04315.04
5.4.350.0050.04115.07
5.4.340.0080.02614.99
5.4.330.0060.00311.08
5.4.320.0070.04014.82
5.4.310.0030.02515.03
5.4.300.0080.03615.02
5.4.290.0020.03315.06
5.4.280.0080.03614.94
5.4.270.0080.03714.96
5.4.260.0030.04314.99
5.4.250.0070.04115.11
5.4.240.0090.02214.95
5.4.230.0070.04014.94
5.4.220.0050.04014.73
5.4.210.0100.04015.13
5.4.200.0070.03015.05
5.4.190.0090.03415.17
5.4.180.0030.04115.12
5.4.170.0030.03714.97
5.4.160.0080.03314.91
5.4.150.0090.02314.91
5.4.140.0040.02413.65
5.4.130.0030.03713.66
5.4.120.0080.02113.69
5.4.110.0040.03713.57
5.4.100.0000.04113.63
5.4.90.0050.02013.66
5.4.80.0050.03413.65
5.4.70.0020.03813.59
5.4.60.0070.02313.75
5.4.50.0000.02513.67
5.4.40.0020.04313.67
5.4.30.0050.04013.66
5.4.20.0080.03513.73
5.4.10.0050.03713.61
5.4.00.0080.02013.40
5.3.290.0040.02212.52
5.3.280.0070.04112.42
5.3.270.0090.03012.55
5.3.260.0090.01812.57
5.3.250.0020.03112.44
5.3.240.0020.02712.43
5.3.230.0020.02312.49
5.3.220.0050.02212.44
5.3.210.0060.04112.44
5.3.200.0090.03012.45
5.3.190.0030.03212.36
5.3.180.0080.03812.57
5.3.170.0050.02412.53
5.3.160.0030.04012.58
5.3.150.0070.02712.53
5.3.140.0040.03612.47
5.3.130.0080.03812.40
5.3.120.0060.03012.45
5.3.110.0040.02712.40
5.3.100.0050.03212.23
5.3.90.0050.04012.24
5.3.80.0080.03512.15
5.3.70.0070.02712.17
5.3.60.0030.04012.09
5.3.50.0050.04212.06
5.3.40.0030.02112.12
5.3.30.0050.03911.96
5.3.20.0050.03511.83
5.3.10.0020.02211.91
5.3.00.0030.02711.97
5.2.170.0050.03210.52
5.2.160.0050.01710.52
5.2.150.0020.01710.54
5.2.140.0000.01910.54
5.2.130.0070.03010.48
5.2.120.0030.01610.53
5.2.110.0080.02810.47
5.2.100.0050.03310.53
5.2.90.0030.03510.46
5.2.80.0000.03510.53
5.2.70.0060.01310.51
5.2.60.0080.03410.58
5.2.50.0030.01910.41
5.2.40.0000.03310.55
5.2.30.0060.03010.46
5.2.20.0020.03510.38
5.2.10.0050.03010.43
5.2.00.0050.02610.34
5.1.60.0050.02710.02
5.1.50.0040.01710.01
5.1.40.0050.0279.95
5.1.30.0100.02210.22
5.1.20.0060.02910.24
5.1.10.0040.03010.05
5.1.00.0030.03010.04
5.0.50.0000.0289.25
5.0.40.0070.0209.21
5.0.30.0040.0189.12
5.0.20.0030.0189.07
5.0.10.0030.0209.02
5.0.00.0020.0309.01
4.4.90.0070.0158.85
4.4.80.0000.0178.85
4.4.70.0000.0148.85
4.4.60.0010.0118.85
4.4.50.0050.0158.85
4.4.40.0020.0298.85
4.4.30.0030.0198.85
4.4.20.0010.0168.85
4.4.10.0030.0188.85
4.4.00.0090.0228.85
4.3.110.0020.0168.85
4.3.100.0020.0128.85
4.3.90.0020.0158.85
4.3.80.0060.0238.85
4.3.70.0020.0138.85
4.3.60.0020.0108.85
4.3.50.0020.0098.85
4.3.40.0000.0158.85
4.3.30.0020.0208.85
4.3.20.0000.0208.85
4.3.10.0000.0208.85
4.3.00.0010.0198.85

preferences:
74.96 ms | 401 KiB | 5 Q