3v4l.org

run code in 300+ PHP versions simultaneously
<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= // Additional Functions // ============================================================================= //add hatom data function add_suf_hatom_data($content) { $t = get_the_modified_time('F jS, Y'); $author = get_the_author(); $title = get_the_title(); if (is_home() || is_singular() || is_archive() ) { $content .= '<div class="hatom-extra" style="display:none;visibility:hidden;"><span class="entry-title">'.$title.'</span> was last modified: <span class="updated"> '.$t.'</span> by <span class="author vcard"><span class="fn">'.$author.'</span></span></div>'; } return $content; } add_filter('the_content', 'add_suf_hatom_data'); // Add Google Tag Manager Code // ============================================================================= function add_google_tag_manager_code(){ ?> <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-N67NBX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-N67NBX');</script> <!-- End Google Tag Manager --> <?php } add_action( 'x_before_site_begin', 'gtm_tracking_code' ); // End Add Google Tag Manager Code // =============================================================================

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.0120.00918.56
8.3.50.0070.01016.24
8.3.40.0140.00018.79
8.3.30.0160.00018.84
8.3.20.0060.00320.04
8.3.10.0050.00323.66
8.3.00.0040.00422.38
8.2.180.0060.01018.39
8.2.170.0110.00422.96
8.2.160.0120.00321.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00317.63
8.2.110.0130.00321.02
8.2.100.0080.00417.50
8.2.90.0060.00319.05
8.2.80.0040.00417.97
8.2.70.0090.00017.38
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0000.00821.07
8.2.30.0030.00619.70
8.2.20.0000.00817.75
8.2.10.0040.00418.03
8.2.00.0030.00518.02
8.1.270.0000.00820.38
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.18
8.1.230.0100.00317.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00016.98
8.1.180.0040.00418.10
8.1.170.0000.00818.36
8.1.160.0000.00721.90
8.1.150.0000.00718.76
8.1.140.0040.00417.38
8.1.130.0040.00417.56
8.1.120.0070.00017.35
8.1.110.0000.00717.22
8.1.100.0000.00817.23
8.1.90.0040.00417.31
8.1.80.0000.00717.27
8.1.70.0040.00417.33
8.1.60.0000.00917.44
8.1.50.0080.00017.36
8.1.40.0000.00717.47
8.1.30.0040.00417.45
8.1.20.0000.00717.49
8.1.10.0000.00717.48
8.1.00.0000.00817.46
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0000.00717.26
8.0.260.0000.00617.19
8.0.250.0040.00416.95
8.0.240.0070.00016.96
8.0.230.0070.00016.91
8.0.220.0090.00016.91
8.0.210.0050.00216.92
8.0.200.0000.00716.84
8.0.190.0040.00416.82
8.0.180.0070.00016.93
8.0.170.0000.00816.80
8.0.160.0070.00016.99
8.0.150.0040.00416.70
8.0.140.0080.00016.84
8.0.130.0030.00313.30
8.0.120.0000.00816.92
8.0.110.0030.00516.87
8.0.100.0040.00416.87
8.0.90.0000.00716.69
8.0.80.0110.00716.90
8.0.70.0000.00816.93
8.0.60.0030.00516.96
8.0.50.0040.00416.95
8.0.30.0100.00916.89
8.0.20.0140.00817.40
8.0.10.0030.00516.99
8.0.00.0130.00416.59
7.4.330.0050.00315.08
7.4.320.0030.00316.38
7.4.300.0060.00016.45
7.4.290.0040.00416.30
7.4.280.0000.00716.54
7.4.270.0030.00316.39
7.4.260.0030.00516.52
7.4.250.0000.00716.42
7.4.240.0070.00016.46
7.4.230.0030.00316.64
7.4.220.0100.01016.64
7.4.210.0130.00516.49
7.4.200.0000.00716.34
7.4.160.0140.00716.48
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0120.00816.45
7.4.120.0070.01016.58
7.4.110.0070.01016.45
7.4.100.0090.01216.57
7.4.90.0040.01216.50
7.4.80.0120.00619.39
7.4.70.0120.00316.51
7.4.60.0140.00316.35
7.4.50.0070.00016.34
7.4.40.0130.00316.34
7.4.30.0130.01016.43
7.4.00.0000.01614.93
7.3.330.0000.00713.17
7.3.320.0000.00713.31
7.3.310.0030.00316.20
7.3.300.0000.00716.30
7.3.290.0060.00016.26
7.3.280.0060.01216.31
7.3.270.0000.01717.40
7.3.260.0030.01616.46
7.3.250.0090.01716.40
7.3.240.0030.01316.30
7.3.230.0130.01016.39
7.3.210.0060.01616.32
7.3.200.0060.01119.39
7.3.190.0120.00416.40
7.3.180.0030.01316.27
7.3.170.0130.00616.43
7.3.160.0100.01216.41
7.2.330.0090.00916.59
7.2.320.0060.01316.52
7.2.310.0100.00716.49
7.2.300.0060.01016.57
7.2.290.0090.00616.34
7.2.60.0030.01016.40
7.2.00.0190.00019.32
7.1.200.0040.00715.68
7.1.100.0160.01017.91
7.1.70.0070.00316.91
7.1.60.0110.01419.12
7.1.50.0040.01516.70
7.1.00.0030.07722.45
7.0.200.0040.00416.63
7.0.60.0000.08719.84
7.0.50.0100.03717.88
7.0.40.0030.04720.05
7.0.30.0330.07720.11
7.0.20.0230.07720.30
7.0.10.0070.08720.26
7.0.00.0030.05720.23
5.6.280.0000.07320.87
5.6.210.0100.05320.51
5.6.200.0030.09018.15
5.6.190.0070.04720.62
5.6.180.4130.04320.61
5.6.170.0200.04720.54
5.6.160.0070.08320.46
5.6.150.0100.06718.12
5.6.140.0130.06718.26
5.6.130.0030.07318.21
5.6.120.0100.06721.00
5.6.110.0130.07021.03
5.6.100.0130.07721.15
5.6.90.0100.06321.01
5.6.80.0070.08320.54
5.6.70.4500.03320.42
5.5.350.0200.08020.39
5.5.340.0100.06017.93
5.5.330.0100.07720.35
5.5.320.3370.03720.30
5.5.310.0230.08020.27
5.5.300.0070.06317.98
5.5.290.0130.04718.04
5.5.280.0070.08020.98
5.5.270.0000.04320.69
5.5.260.0070.07020.85
5.5.250.0100.08720.80
5.5.240.0170.04020.08
5.4.450.0800.06019.33
5.4.440.1030.05719.31
5.4.430.0970.04319.59
5.4.420.1000.05719.45
5.4.410.1070.05319.19
5.4.400.0770.05719.05
5.4.390.0970.05318.96
5.4.380.0970.05319.14
5.4.370.1000.04718.96
5.4.360.0730.06319.21
5.4.350.0800.05319.15
5.4.340.0700.06019.00
5.4.320.0900.04719.13
5.4.310.0800.05318.79
5.4.300.0800.05718.85
5.4.290.0930.05019.30
5.4.280.0870.05318.96
5.4.270.0900.04719.25
5.4.260.0830.05318.99
5.4.250.0830.05319.12
5.4.240.0900.05719.10
5.4.230.0800.05719.14
5.4.220.0900.04719.11
5.4.210.0870.05719.01
5.4.200.0830.05317.11
5.4.190.0970.05319.34
5.4.180.0800.06019.07
5.4.170.0930.06018.93
5.4.160.0930.04719.15
5.4.150.0870.05019.00
5.4.140.0770.06016.73
5.4.130.0830.04716.39
5.4.120.0870.04316.55
5.4.110.0870.06016.77
5.4.100.0630.05716.45
5.4.90.0970.04316.58
5.4.80.0870.04716.42
5.4.70.0830.05016.75
5.4.60.0200.03316.17
5.4.50.0000.04716.51
5.4.40.0230.04716.37
5.4.30.0300.06716.42
5.4.20.0230.04316.53

preferences:
65.35 ms | 400 KiB | 5 Q