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 // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); // 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');

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.0040.01118.43
8.3.50.0120.00721.07
8.3.40.0140.00018.91
8.3.30.0070.00718.71
8.3.20.0070.00020.16
8.3.10.0040.00423.36
8.3.00.0040.00422.38
8.2.180.0130.01016.50
8.2.170.0090.00622.96
8.2.160.0140.00020.43
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00017.63
8.2.110.0060.00319.20
8.2.100.0060.00617.75
8.2.90.0070.00019.22
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0070.00017.80
8.2.50.0050.00318.07
8.2.40.0000.00821.02
8.2.30.0000.00718.06
8.2.20.0030.00617.58
8.2.10.0030.00618.02
8.2.00.0040.00418.07
8.1.280.0070.00725.92
8.1.270.0060.00320.42
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0110.01122.05
8.1.230.0040.00817.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00916.87
8.1.180.0060.00318.10
8.1.170.0000.00818.28
8.1.160.0040.00421.95
8.1.150.0040.00418.82
8.1.140.0050.00317.37
8.1.130.0000.00817.50
8.1.120.0020.00517.39
8.1.110.0030.00517.32
8.1.100.0040.00417.17
8.1.90.0000.00717.16
8.1.80.0040.00417.23
8.1.70.0030.00317.24
8.1.60.0060.00317.48
8.1.50.0060.00317.36
8.1.40.0070.00317.51
8.1.30.0050.00317.63
8.1.20.0070.00017.50
8.1.10.0060.00317.43
8.1.00.0000.00817.44
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.30
8.0.270.0030.00317.08
8.0.260.0070.00017.15
8.0.250.0000.00716.86
8.0.240.0080.00016.88
8.0.230.0060.00316.85
8.0.220.0030.00316.81
8.0.210.0070.00016.96
8.0.200.0030.00316.95
8.0.190.0060.00317.02
8.0.180.0040.00416.91
8.0.170.0080.00416.91
8.0.160.0030.00317.00
8.0.150.0050.00316.84
8.0.140.0000.00716.73
8.0.130.0060.00013.30
8.0.120.0050.00316.93
8.0.110.0020.00516.86
8.0.100.0050.00216.89
8.0.90.0030.00516.96
8.0.80.0090.00616.90
8.0.70.0000.00716.73
8.0.60.0040.00416.70
8.0.50.0040.00416.91
8.0.30.0090.01116.93
8.0.20.0060.01217.40
8.0.10.0040.00417.00
8.0.00.0120.00816.77
7.4.330.0050.00015.08
7.4.320.0030.00316.39
7.4.300.0000.00616.39
7.4.290.0000.00716.35
7.4.280.0040.00416.55
7.4.270.0030.00316.47
7.4.260.0030.00316.39
7.4.250.0020.00516.40
7.4.240.0030.00416.41
7.4.230.0000.00716.25
7.4.220.0090.00916.48
7.4.210.0090.00816.33
7.4.200.0000.00716.29
7.4.160.0090.00616.52
7.4.150.0110.00717.40
7.4.140.0080.01617.86
7.4.130.0090.00916.60
7.4.120.0090.00916.40
7.4.110.0170.00016.63
7.4.100.0130.00916.53
7.4.90.0120.00616.51
7.4.80.0100.00719.39
7.4.70.0060.00916.49
7.4.60.0080.00816.51
7.4.50.0080.00016.32
7.4.40.0030.01316.65
7.4.30.0130.01016.31
7.4.00.0090.00314.93
7.3.330.0000.00513.28
7.3.320.0030.00313.16
7.3.310.0000.00716.20
7.3.300.0000.00716.16
7.3.290.0070.00016.18
7.3.280.0090.00816.29
7.3.270.0080.00817.40
7.3.260.0070.01016.35
7.3.250.0150.00416.41
7.3.240.0100.01016.39
7.3.230.0060.01016.39
7.3.210.0100.00716.57
7.3.200.0120.00619.39
7.3.190.0100.00616.45
7.3.180.0060.00916.59
7.3.170.0120.00616.28
7.3.160.0100.00716.31
7.3.10.0150.01016.30
7.3.00.0190.00616.38
7.2.330.0030.01616.19
7.2.320.0060.01116.67
7.2.310.0040.01316.60
7.2.300.0030.01316.53
7.2.290.0030.01716.59
7.2.130.0120.01216.42
7.2.120.0090.00916.81
7.2.110.0070.01316.67
7.2.100.0140.00716.23
7.2.90.0130.00716.58
7.2.80.0090.00916.61
7.2.70.0110.00316.32
7.2.60.0040.01216.57
7.2.50.0250.00616.21
7.2.40.0150.00916.41
7.2.30.0060.01316.57
7.2.20.0140.00316.32
7.2.10.0110.00516.69
7.2.00.0070.00818.01
7.1.250.0110.00615.34
7.1.200.0040.00415.70
7.1.100.0190.00318.07
7.1.70.0000.00817.14
7.1.60.0140.01120.03
7.1.50.0000.01816.78
7.1.00.0070.07322.37
7.0.200.0000.00916.68
7.0.60.0000.04320.04
7.0.50.0000.04317.92
7.0.40.0100.08720.10
7.0.30.0330.04320.07
7.0.20.0370.06320.37
7.0.10.0030.04720.24
7.0.00.0070.06020.06
5.6.280.0000.07721.04
5.6.210.0100.07720.51
5.6.200.0130.07318.29
5.6.190.0070.04020.64
5.6.180.0400.06320.49
5.6.170.0230.08720.48
5.6.160.0030.04020.54
5.6.150.0130.06018.16
5.6.140.0070.08018.15
5.6.130.0030.04718.24
5.6.120.0100.06321.01
5.6.110.0100.08021.10
5.6.100.0200.07021.01
5.6.90.0130.08020.97
5.6.80.0070.04020.52
5.6.70.2970.03320.39
5.5.350.0130.08320.44
5.5.340.0000.09017.98
5.5.330.0000.06720.42
5.5.320.0030.04020.34
5.5.310.0170.05320.27
5.5.300.0070.08018.07
5.5.290.0030.04318.08
5.5.280.0100.08020.88
5.5.270.0030.08320.82
5.5.260.0030.05020.76
5.5.250.0070.03720.75
5.5.240.0300.06720.16
5.4.450.0170.04019.18
5.4.440.0130.05719.19
5.4.430.0200.03719.40
5.4.420.0230.04719.26
5.4.410.0270.03019.39
5.4.400.0130.04319.09
5.4.390.0200.05719.21
5.4.380.0300.06718.85
5.4.370.0230.05318.85
5.4.360.0200.04718.87
5.4.350.0100.05719.22
5.4.340.0200.04319.24
5.4.320.0230.06719.31
5.4.310.0300.06719.24
5.4.300.0270.05719.06
5.4.290.0300.07018.85
5.4.280.0200.06718.84
5.4.270.0230.03319.24
5.4.260.0270.06319.22
5.4.250.0200.06719.12
5.4.240.0230.06719.21
5.4.230.0230.04319.15
5.4.220.0400.06318.86
5.4.210.0300.04319.19
5.4.200.0270.07319.13
5.4.190.0370.06019.14
5.4.180.0230.05019.20
5.4.170.0230.04018.95
5.4.160.0200.03319.07
5.4.150.0300.06719.14
5.4.140.0230.08016.38
5.4.130.0270.04316.45
5.4.120.0230.05716.30
5.4.110.0400.05716.37
5.4.100.0270.03316.46
5.4.90.0230.05716.40
5.4.80.0200.04016.32
5.4.70.0370.03716.53

preferences:
47.55 ms | 401 KiB | 5 Q