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 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.40.0110.00418.84
8.3.30.0040.01118.68
8.3.20.0080.00020.34
8.3.10.0040.00423.66
8.3.00.0060.00322.45
8.2.170.0100.01022.96
8.2.160.0110.00322.12
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00917.50
8.2.110.0070.00321.07
8.2.100.0060.00617.84
8.2.90.0040.00418.09
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0030.00717.63
8.2.50.0050.00317.63
8.2.40.0080.00019.65
8.2.30.0040.00419.69
8.2.20.0000.00717.75
8.2.10.0040.00418.05
8.2.00.0050.00218.05
8.1.270.0040.00420.24
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0060.00323.80
8.1.230.0070.00422.70
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0000.00917.13
8.1.190.0040.00417.22
8.1.180.0030.00518.10
8.1.170.0030.00517.62
8.1.160.0030.00321.86
8.1.150.0040.00418.75
8.1.140.0040.00417.29
8.1.130.0030.00317.53
8.1.120.0070.00017.29
8.1.110.0040.00417.31
8.1.100.0080.00017.36
8.1.90.0030.00417.20
8.1.80.0040.00417.20
8.1.70.0040.00417.33
8.1.60.0000.00917.48
8.1.50.0050.00317.28
8.1.40.0080.00017.41
8.1.30.0080.00017.57
8.1.20.0000.00817.51
8.1.10.0030.00517.46
8.1.00.0050.00317.34
8.0.300.0070.00019.79
8.0.290.0000.00716.75
8.0.280.0000.00718.30
8.0.270.0000.00717.18
8.0.260.0030.00317.11
8.0.250.0000.00716.84
8.0.240.0030.00616.84
8.0.230.0000.00816.97
8.0.220.0040.00416.75
8.0.210.0040.00416.88
8.0.200.0040.00416.95
8.0.190.0000.00816.99
8.0.180.0000.00716.90
8.0.170.0070.00016.83
8.0.160.0000.00716.87
8.0.150.0040.00416.84
8.0.140.0040.00416.86
8.0.130.0000.00613.33
8.0.120.0040.00416.87
8.0.110.0040.00416.92
8.0.100.0040.00416.75
8.0.90.0000.00716.86
8.0.80.0110.01116.84
8.0.70.0030.00617.00
8.0.60.0000.00716.83
8.0.50.0030.00516.71
8.0.30.0050.01316.87
8.0.20.0100.00917.40
8.0.10.0050.00316.88
8.0.00.0100.00716.72
7.4.330.0080.00015.08
7.4.320.0030.00316.39
7.4.300.0000.00616.30
7.4.290.0040.00416.45
7.4.280.0050.00316.45
7.4.270.0050.00216.46
7.4.260.0030.00316.42
7.4.250.0030.00716.30
7.4.240.0040.00416.48
7.4.230.0000.00716.57
7.4.220.0140.01316.61
7.4.210.0090.00716.52
7.4.200.0040.00416.34
7.4.160.0000.01616.71
7.4.150.0140.00517.40
7.4.140.0100.01117.86
7.4.130.0150.00716.59
7.4.120.0120.00616.50
7.4.110.0070.01016.45
7.4.100.0090.00916.59
7.4.90.0220.00016.59
7.4.80.0030.01819.39
7.4.70.0070.01016.54
7.4.60.0070.01016.51
7.4.50.0000.00716.57
7.4.40.0060.01116.53
7.4.30.0090.01016.31
7.4.00.0030.01314.58
7.3.330.0030.00513.32
7.3.320.0000.00713.31
7.3.310.0040.00416.28
7.3.300.0000.00716.35
7.3.290.0070.00016.32
7.3.280.0060.01316.32
7.3.270.0120.00817.40
7.3.260.0180.00016.28
7.3.250.0080.01216.33
7.3.240.0030.01316.42
7.3.230.0080.00916.39
7.3.210.0180.00416.49
7.3.200.0030.01319.39
7.3.190.0060.00916.26
7.3.180.0240.03616.55
7.3.170.0120.00616.58
7.3.160.0070.01316.55
7.3.10.0060.00816.64
7.3.00.0000.01216.75
7.2.330.0070.01516.38
7.2.320.0130.01016.26
7.2.310.0100.00716.54
7.2.300.0060.01016.57
7.2.290.0060.01016.45
7.2.130.0050.00516.86
7.2.120.0040.01116.82
7.2.110.0080.00316.59
7.2.100.0060.00616.71
7.2.90.0090.00316.81
7.2.80.0040.01116.87
7.2.70.0090.00016.83
7.2.60.0070.00616.68
7.2.50.0110.00316.93
7.2.40.0030.01216.62
7.2.30.0120.00316.98
7.2.20.0040.01116.77
7.2.10.0040.00716.90
7.2.00.0070.00718.09
7.1.250.0040.01115.48
7.1.200.0090.00315.22
7.1.100.0030.00917.59
7.1.70.0000.00817.18
7.1.60.0030.01919.12
7.1.50.0070.01016.96
7.1.00.0130.06322.45
7.0.200.0090.00416.73
7.0.60.0030.08719.92
7.0.50.0000.08317.96
7.0.40.0130.08720.11
7.0.30.0270.07020.06
7.0.20.0270.06320.23
7.0.10.0030.07720.06
7.0.00.0030.05720.24
5.6.280.0070.05020.91
5.6.210.0070.05020.73
5.6.200.0070.05018.29
5.6.190.0070.06720.61
5.6.180.3530.03720.77
5.6.170.0300.04720.62
5.6.160.0200.07720.50
5.6.150.0070.08318.23
5.6.140.0200.04318.28
5.6.130.0130.06018.18
5.6.120.0070.04321.06
5.6.110.0170.05721.14
5.6.100.0170.07720.97
5.6.90.0070.05021.05
5.6.80.0100.04720.38
5.6.70.3030.02320.39
5.5.350.0270.07320.44
5.5.340.0000.08018.04
5.5.330.0070.08020.25
5.5.320.4030.04020.52
5.5.310.0330.03320.42
5.5.300.0130.07318.05
5.5.290.0070.06717.97
5.5.280.0030.05020.91
5.5.270.0070.03720.84
5.5.260.0030.07320.74
5.5.250.0200.06020.62
5.5.240.0170.07320.18
5.4.450.1030.08019.18
5.4.440.1030.07319.32
5.4.430.0970.04319.54
5.4.420.0870.05719.68
5.4.410.1000.04719.47
5.4.400.0970.05719.27
5.4.390.0800.05719.27
5.4.380.0830.06019.05
5.4.370.0930.05719.24
5.4.360.0870.06019.32
5.4.350.0900.05019.36
5.4.340.0930.05719.05
5.4.320.0930.06319.23
5.4.310.0870.05319.13
5.4.300.0930.05319.12
5.4.290.0900.05319.05
5.4.280.0870.05018.99
5.4.270.0930.05018.84
5.4.260.1000.07319.23
5.4.250.0930.06019.23
5.4.240.0930.05319.29
5.4.230.0770.05718.84
5.4.220.1000.06718.96
5.4.210.0830.05718.99
5.4.200.0700.05316.70
5.4.190.0870.04719.12
5.4.180.1000.04319.25
5.4.170.0870.05319.01
5.4.160.0800.05319.15
5.4.150.0870.05019.10
5.4.140.0830.05016.38
5.4.130.0900.04016.56
5.4.120.0870.05016.45
5.4.110.0930.05716.61
5.4.100.0870.05016.45
5.4.90.0930.05016.43
5.4.80.0800.05016.56
5.4.70.0900.05016.45
5.4.60.0170.03716.43
5.4.50.0030.06716.17
5.4.40.0200.03716.48
5.4.30.0230.06016.42
5.4.20.0270.03716.25

preferences:
70.6 ms | 400 KiB | 5 Q