3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( have_posts() ) : ?> <?php /* Start the Loop */ query_posts(array('post_type' => array('post', 'Questions')));?> <?php while ( have_posts() ) : the_post(); ?> <?php /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'template-parts/content', get_post_format() ); ?> <?php endwhile; ?> <?php else : ?> <?php get_template_part( 'template-parts/content', 'none' ); ?> <?php endif; ?>

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.00318.84
8.3.30.0100.01018.46
8.3.20.0070.00020.16
8.3.10.0050.00323.62
8.3.00.0030.00517.93
8.2.170.0060.01222.96
8.2.160.0100.00320.16
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00317.48
8.2.110.0140.00319.36
8.2.100.0110.00018.04
8.2.90.0060.00319.04
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0040.00417.79
8.2.50.0080.00018.07
8.2.40.0050.00320.96
8.2.30.0000.00720.63
8.2.20.0060.00317.75
8.2.10.0030.00517.93
8.2.00.0040.00418.09
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00820.82
8.1.230.0090.00317.52
8.1.220.0000.00817.74
8.1.210.0000.01018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.11
8.1.180.0040.00418.10
8.1.170.0000.01118.37
8.1.160.0080.00021.95
8.1.150.0040.00418.78
8.1.140.0030.00519.47
8.1.130.0000.00717.46
8.1.120.0040.00417.39
8.1.110.0040.00417.34
8.1.100.0050.00317.41
8.1.90.0000.00817.33
8.1.80.0000.00817.32
8.1.70.0070.00017.22
8.1.60.0050.00317.37
8.1.50.0070.00017.45
8.1.40.0000.00817.48
8.1.30.0030.00617.57
8.1.20.0040.00417.54
8.1.10.0050.00317.53
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0030.00616.75
8.0.280.0070.00018.30
8.0.270.0030.00317.17
8.0.260.0030.00317.15
8.0.250.0070.00016.95
8.0.240.0030.00316.86
8.0.230.0040.00416.88
8.0.220.0000.01016.91
8.0.210.0040.00416.92
8.0.200.0060.00016.97
8.0.190.0070.00016.94
8.0.180.0020.00516.82
8.0.170.0040.00416.82
8.0.160.0000.00816.94
8.0.150.0000.00816.72
8.0.140.0050.00216.92
8.0.130.0040.00413.36
8.0.120.0040.00416.79
8.0.110.0000.00716.95
8.0.100.0000.00716.86
8.0.90.0040.00316.77
8.0.80.0080.01516.84
8.0.70.0000.00716.95
8.0.60.0040.00416.94
8.0.50.0000.00816.89
8.0.30.0090.00717.15
8.0.20.0060.01217.40
8.0.10.0040.00416.91
8.0.00.0110.01016.79
7.4.330.0020.00215.08
7.4.320.0030.00316.38
7.4.300.0000.00616.48
7.4.290.0000.00816.55
7.4.280.0050.00316.55
7.4.270.0030.00316.45
7.4.260.0040.00416.42
7.4.250.0040.00416.53
7.4.240.0060.00116.58
7.4.230.0000.00716.57
7.4.220.0100.01016.59
7.4.210.0030.01716.65
7.4.200.0000.00716.46
7.4.160.0030.01216.57
7.4.150.0000.01817.40
7.4.140.0150.00717.86
7.4.130.0150.00416.81
7.4.120.0150.00616.49
7.4.110.0070.01116.49
7.4.100.0160.00816.49
7.4.90.0060.01516.61
7.4.80.0120.00619.39
7.4.70.0100.00716.56
7.4.60.0130.01016.49
7.4.50.0030.00316.12
7.4.40.0080.00816.47
7.4.30.0120.00616.29
7.4.00.0000.01514.84
7.3.330.0050.00013.17
7.3.320.0000.00513.14
7.3.310.0000.00716.10
7.3.300.0070.00016.25
7.3.290.0040.01116.31
7.3.280.0090.00816.24
7.3.270.0030.01417.40
7.3.260.0070.01116.46
7.3.240.0170.00216.37
7.3.230.0090.00616.39
7.3.210.0090.00916.35
7.3.200.0120.00316.32
7.3.190.0080.00916.39
7.3.180.0090.00616.50
7.3.170.0090.01316.27
7.3.160.0070.01016.40
7.2.330.0040.01316.35
7.2.320.0130.00316.54
7.2.310.0120.00616.55
7.2.300.0120.00616.28
7.2.290.0100.00616.57
7.2.60.0030.01216.81
7.2.00.0090.00419.39
7.1.200.0120.00715.30
7.1.100.0060.01018.02
7.1.70.0050.00517.08
7.1.60.0030.02019.50
7.1.50.0040.00716.73
7.1.00.0070.07322.35
7.0.200.0130.00016.77
7.0.60.0030.08019.90
7.0.50.0100.03317.80
7.0.40.0030.06320.08
7.0.30.0200.03720.17
7.0.20.0100.05320.23
7.0.10.0130.05320.00
7.0.00.0000.05320.01
5.6.280.0000.07021.06
5.6.210.0100.07020.50
5.6.200.0000.04718.15
5.6.190.0030.09020.60
5.6.180.3430.03720.39
5.6.170.0200.04720.38
5.6.160.0100.05020.33
5.6.150.0070.04018.19
5.6.140.0030.05718.16
5.6.130.0030.05718.22
5.6.120.0130.07720.96
5.6.110.0100.08320.97
5.6.100.0000.08720.97
5.6.90.0070.06721.11
5.6.80.0130.07320.28
5.6.70.3200.03020.53
5.5.350.0200.06720.38
5.5.340.0000.05017.92
5.5.330.0100.04320.48
5.5.320.0470.07020.41
5.5.310.0170.03720.34
5.5.300.0100.07318.02
5.5.290.0070.04317.95
5.5.280.0070.06720.89
5.5.270.0030.04720.85
5.5.260.0030.09020.75
5.5.250.0030.05020.56
5.5.240.0170.07320.35
5.4.450.0600.07319.11
5.4.440.1000.05719.28
5.4.430.0870.06319.41
5.4.420.0870.07319.32
5.4.410.0770.06719.19
5.4.400.0970.05319.09
5.4.390.0830.05318.77
5.4.380.0870.06319.30
5.4.370.0730.05319.25
5.4.360.0770.06719.12
5.4.350.0870.06319.30
5.4.340.0970.05718.92
5.4.320.0830.06719.16
5.4.310.1030.04719.31
5.4.300.0800.06319.27
5.4.290.0830.05718.80
5.4.280.0830.05019.25
5.4.270.0870.06019.01
5.4.260.0730.04719.14
5.4.250.0170.05019.27
5.4.240.0500.06319.29
5.4.230.0930.06719.15
5.4.220.0830.06319.14
5.4.210.0630.05319.08
5.4.200.0800.05719.29
5.4.190.0870.05719.08
5.4.180.0600.05719.30
5.4.170.0730.05318.98
5.4.160.0600.06019.25
5.4.150.0230.06719.28
5.4.140.0500.05016.43
5.4.130.0900.04016.26
5.4.120.0400.06016.41
5.4.110.0130.04716.07
5.4.100.0630.05316.39
5.4.90.0670.04316.49
5.4.80.0870.04716.52
5.4.70.0670.05316.37
5.4.60.0770.05016.51
5.4.50.0570.06016.49
5.4.40.0700.05716.49
5.4.30.0970.05716.43
5.4.20.0770.04716.43
5.4.10.0930.04716.46
5.4.00.0700.05315.81

preferences:
70.99 ms | 400 KiB | 5 Q