3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_social_buttons() { $hashed_tags = get_hashed_tags(); $thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID), 'full' ); $html = ''; $html = '<ul class="social">'; $html .= '<li><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<' . rawurlencode(get_the_permalink()) .'><i class="fa fa-facebook fa-lg"></i></a></li>'; $html .= '<li><a target="_blank" href="http://www.pinterest.com/pin/create/button/?url=' . rawurlencode(get_bloginfo('url'). '/' .get_the_permalink()) .'&media='. rawurlencode($thumb[0]) .'&description=' . rawurlencode(get_the_title() . ' ' . $hashed_tags) .'"><i class="fa fa-pinterest fa-lg"></i></a></li>'; $html .= '<li><a target="_blank" href="http://twitter.com/home?status=' . rawurlencode(get_the_title() . ' ' . get_the_permalink() . ' ' . $hashed_tags()) .'><i class="fa fa-twitter fa-lg"></i></a></li>'; $html .= '</ul>'; return $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.40.0140.00018.56
8.3.30.0140.00019.04
8.3.20.0050.00220.34
8.3.10.0080.00023.66
8.3.00.0080.00019.13
8.2.170.0150.00622.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00822.25
8.2.110.0030.00622.24
8.2.100.0090.00317.72
8.2.90.0040.00418.98
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0040.00419.95
8.2.30.0000.00717.88
8.2.20.0040.00417.66
8.2.10.0000.00817.98
8.2.00.0030.00617.57
8.1.270.0070.00323.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.62
8.1.230.0070.00419.11
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.00
8.1.190.0000.00817.41
8.1.180.0030.00618.10
8.1.170.0030.00618.59
8.1.160.0000.00722.05
8.1.150.0000.00718.59
8.1.140.0030.00517.36
8.1.130.0030.00317.64
8.1.120.0050.00217.39
8.1.110.0050.00517.29
8.1.100.0030.00617.35
8.1.90.0000.00717.41
8.1.80.0050.00317.23
8.1.70.0030.00317.25
8.1.60.0000.00817.50
8.1.50.0040.00417.47
8.1.40.0040.00417.31
8.1.30.0030.00617.52
8.1.20.0040.00417.43
8.1.10.0040.00417.29
8.1.00.0040.00417.37
8.0.300.0040.00420.85
8.0.290.0000.00817.03
8.0.280.0040.00218.27
8.0.270.0050.00317.04
8.0.260.0030.00317.04
8.0.250.0000.00716.85
8.0.240.0000.00816.85
8.0.230.0040.00416.84
8.0.220.0030.00316.68
8.0.210.0030.00316.75
8.0.200.0030.00316.87
8.0.190.0000.00716.88
8.0.180.0040.00416.84
8.0.170.0000.00816.70
8.0.160.0050.00216.91
8.0.150.0040.00416.81
8.0.140.0070.00016.77
8.0.130.0050.00013.18
8.0.120.0050.00316.73
8.0.110.0050.00316.82
8.0.100.0030.00516.68
8.0.90.0040.00416.84
8.0.80.0060.01016.79
8.0.70.0050.00316.83
8.0.60.0070.00016.86
8.0.50.0000.00716.62
8.0.30.0140.00316.92
8.0.20.0150.00617.40
8.0.10.0040.00416.78
8.0.00.0120.00516.61
7.4.330.0030.00315.00
7.4.320.0030.00316.51
7.4.300.0050.00216.51
7.4.290.0000.00716.50
7.4.280.0030.00616.51
7.4.270.0030.00316.43
7.4.260.0040.00416.39
7.4.250.0000.00816.47
7.4.240.0030.00316.38
7.4.230.0030.00316.38
7.4.220.0160.00716.38
7.4.210.0060.01016.54
7.4.200.0000.00716.26
7.4.190.0000.00716.56
7.4.160.0080.00816.64
7.4.150.0070.01017.40
7.4.140.0130.00917.86
7.4.130.0070.01116.46
7.4.120.0080.00816.37
7.4.110.0000.01816.48
7.4.100.0070.01016.40
7.4.90.0090.00916.42
7.4.80.0200.00319.39
7.4.70.0050.01216.39
7.4.60.0130.00316.32
7.4.50.0000.00816.19
7.4.40.0090.00622.77
7.4.30.0120.00316.27
7.4.00.0060.01014.52
7.3.330.0030.00313.08
7.3.320.0040.00413.30
7.3.310.0000.00616.18
7.3.300.0070.00016.25
7.3.290.0120.00816.16
7.3.280.0130.00616.20
7.3.270.0130.00317.40
7.3.260.0150.01016.17
7.3.250.0140.00516.31
7.3.240.0170.00016.36
7.3.230.0130.00916.39
7.3.210.0130.00316.46
7.3.200.0160.01119.39
7.3.190.0140.00716.34
7.3.180.0090.00616.52
7.3.170.0030.01316.34
7.3.160.0110.01016.19
7.3.120.0000.01214.71
7.2.330.0060.01016.38
7.2.320.0090.01316.37
7.2.310.0130.00316.52
7.2.300.0070.01716.45
7.2.290.0130.00316.52
7.2.00.0030.01019.10
7.1.100.0040.00817.82
7.1.70.0030.00617.00
7.1.60.0100.01619.46
7.1.50.0070.01116.61
7.1.00.0070.07322.37
7.0.200.0060.00614.70
7.0.140.0070.07021.92
7.0.60.0170.03320.05
7.0.50.0070.04017.88
7.0.40.0170.07720.02
7.0.30.0300.08320.11
7.0.20.0230.05720.10
7.0.10.0070.04020.06
7.0.00.0030.04320.23
5.6.280.0030.07320.79
5.6.210.0100.07720.67
5.6.200.0000.04718.25
5.6.190.0130.08020.63
5.6.180.0300.07320.55
5.6.170.0230.08320.47
5.6.160.0170.03020.45
5.6.150.0030.08018.18
5.6.140.0100.06318.14
5.6.130.0170.07018.11
5.6.120.0130.03720.98
5.6.110.0070.08021.02
5.6.100.0070.08021.09
5.6.90.0130.07020.87
5.6.80.0130.07320.33
5.6.70.3330.03720.37
5.5.350.0230.06320.47
5.5.340.0130.05317.98
5.5.330.0100.07020.29
5.5.320.0170.04320.33
5.5.310.0230.07320.25
5.5.300.0030.05018.03
5.5.290.0100.03718.06
5.5.280.0070.07020.68
5.5.270.0070.08320.77
5.5.260.0100.08020.79
5.5.250.0000.04320.72
5.5.240.0230.06320.27
5.4.450.0800.04719.63
5.4.440.0870.05719.48
5.4.430.0830.05319.62
5.4.420.0530.07019.46
5.4.410.0970.05719.22
5.4.400.0930.06319.05
5.4.390.1000.05019.14
5.4.380.0500.06018.56
5.4.370.0400.05718.61
5.4.360.0330.06018.74
5.4.350.0270.05318.82
5.4.340.0400.06018.66
5.4.320.0050.03712.50
5.4.310.0120.03712.51
5.4.300.0150.04912.51
5.4.290.0060.05612.48
5.4.280.0080.04012.38
5.4.270.0100.03212.39
5.4.260.0100.03512.39
5.4.250.0050.05412.39
5.4.240.0060.04012.39
5.4.230.0080.03812.38
5.4.220.0060.03712.38
5.4.210.0080.03312.38
5.4.200.0070.03912.38
5.4.190.0100.03812.38
5.4.180.0050.03712.38
5.4.170.0050.03712.38
5.4.160.0090.03412.38
5.4.150.0050.03812.37
5.4.140.0040.03912.06
5.4.130.0040.03612.05
5.4.120.0030.03812.00
5.4.110.0070.03412.00
5.4.100.0060.03612.00
5.4.90.0040.04112.00
5.4.80.0100.04612.00
5.4.70.0100.04711.99
5.4.60.0060.03511.99
5.4.50.0070.03912.00
5.4.40.0040.04111.99
5.4.30.0060.03611.98
5.4.20.0080.03311.98
5.4.10.0090.04011.98
5.4.00.0050.03611.46
5.3.290.0060.04012.80
5.3.280.0050.03912.70
5.3.270.0100.04412.72
5.3.260.0080.04412.71
5.3.250.0120.03912.72
5.3.240.0050.04112.72
5.3.230.0050.03812.71
5.3.220.0100.03912.68
5.3.210.0090.03812.68
5.3.200.0060.03812.68
5.3.190.0040.03812.68
5.3.180.0080.04012.67
5.3.170.0110.03512.67
5.3.160.0060.04012.68
5.3.150.0130.05012.67
5.3.140.0060.03912.66
5.3.130.0040.04612.66
5.3.120.0100.05212.66
5.3.110.0170.06512.66
5.3.100.0280.07912.12
5.3.90.0070.06812.10
5.3.80.0110.05212.09
5.3.70.0070.05112.09
5.3.60.0130.04512.08
5.3.50.0070.04612.02
5.3.40.0090.04512.02
5.3.30.0100.04511.98
5.3.20.0070.05211.76
5.3.10.0060.03611.73
5.3.00.0050.04011.71
5.2.170.0050.0319.23
5.2.160.0040.0319.23
5.2.150.0050.0329.23
5.2.140.0060.0329.22
5.2.130.0050.0299.19
5.2.120.0050.0289.19
5.2.110.0060.0289.19
5.2.100.0090.0279.19
5.2.90.0040.0329.18
5.2.80.0090.0429.18
5.2.70.0030.0479.18
5.2.60.0150.0729.14
5.2.50.0060.0429.10
5.2.40.0080.0509.09
5.2.30.0110.0449.05
5.2.20.0110.0359.04
5.2.10.0100.0348.95
5.2.00.0070.0388.82
5.1.60.0130.0338.10
5.1.50.0060.0308.09
5.1.40.0050.0448.08
5.1.30.0120.0548.42
5.1.20.0080.0388.45
5.1.10.0090.0538.17
5.1.00.0050.0328.17
5.0.50.0070.0466.65
5.0.40.0040.0216.51
5.0.30.0070.0336.32
5.0.20.0030.0226.29
5.0.10.0020.0276.27
5.0.00.0090.0536.26
4.4.90.0040.0174.77
4.4.80.0040.0174.76
4.4.70.0150.0354.76
4.4.60.0020.0234.75
4.4.50.0040.0224.77
4.4.40.0060.0444.71
4.4.30.0060.0634.76
4.4.20.0090.0424.85
4.4.10.0090.0384.85
4.4.00.0040.0264.76
4.3.110.0090.0274.67
4.3.100.0050.0144.66
4.3.90.0030.0194.63
4.3.80.0060.0314.58
4.3.70.0040.0364.63
4.3.60.0030.0234.63
4.3.50.0040.0214.63
4.3.40.0100.0304.54
4.3.30.0060.0283.31
4.3.20.0050.0463.29
4.3.10.0030.0433.26
4.3.00.0300.02010.54

preferences:
44.83 ms | 400 KiB | 5 Q