3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* Template Name: トップページ */ ?> <?php get_header(); //header.phpを取得 ?> <div id="content" class="clearfix"> <aside> <?php get_sidebar(); //sidebar.phpを取得 ?> </aside> <article> <?php if ( have_posts() ) : //条件分岐:投稿があるなら ?> <?php while ( have_posts() ) : the_post();//繰り返し処理開始 ?> <section <?php post_class(); //投稿の種類に応じたクラスを付加 ?>> <h1><?php the_title(); //投稿(固定ページ)のタイトルを表示 ?></h1> <?php the_content(); //投稿(固定ページ)の本文を表示 ?> </section> <?php endwhile; // 繰り返し終了 ?> <?php else : //条件分岐:投稿が無い場合は ?> <h2>投稿がみつかりません。</h2> <p><a href="<?php echo home_url(); ?>">トップページに戻る</a></p> <?php endif; //条件分岐終了 ?> <section> <h2 class="section-title">NEWS</h2> <ul class="news-list"> <li> <span class="date">2016.01.15</span> <span class="label-info">お知らせ</span> <a href="#">新製品「魔法の便利ハサミ」の発表イベントを開催します。</a> </li> <li> <span class="date">2016.01.10</span> <span class="label-info">お知らせ</span> <a href="#">沢山のご要望により「らくらく便利シャープペンシル」の新カラーバリエーションを追加しました。</a> </li> <li> <span class="date">2016.01.01</span> <span class="label-info">お知らせ</span> <a href="#">スタッフブログにて社員の年始ご挨拶を掲載しています。</a> </li> </ul> <div class="center"> <a href="#" class="btn btn-default">お知らせ</a> </div> </section> </article> </div> <?php get_footer(); //footer.phpを取得 PHPで終了するので閉じタグは不要です

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.0060.01216.88
8.3.50.0110.00416.28
8.3.40.0080.00818.92
8.3.30.0070.00718.84
8.3.20.0070.00720.16
8.3.10.0040.00421.73
8.3.00.0090.00017.68
8.2.180.0110.01116.63
8.2.170.0110.00422.96
8.2.160.0110.00420.33
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00421.11
8.2.120.0150.00426.35
8.2.110.0060.00321.18
8.2.100.0110.00018.09
8.2.90.0030.00519.21
8.2.80.0040.00418.05
8.2.70.0070.00417.63
8.2.60.0000.00817.78
8.2.50.0000.00918.10
8.2.40.0070.00020.36
8.2.30.0040.00419.22
8.2.20.0040.00418.09
8.2.10.0000.00717.91
8.2.00.0000.00717.96
8.1.280.0030.01525.92
8.1.270.0070.01022.19
8.1.260.0090.00926.35
8.1.250.0150.00628.09
8.1.240.0060.00323.98
8.1.230.0120.00317.42
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.12
8.1.190.0030.00717.23
8.1.180.0030.00518.10
8.1.170.0000.00818.41
8.1.160.0040.00419.04
8.1.150.0000.00720.55
8.1.140.0040.00419.49
8.1.130.0030.00318.73
8.1.120.0040.00317.40
8.1.110.0040.00417.35
8.1.100.0040.00417.33
8.1.90.0000.00917.37
8.1.80.0030.00317.37
8.1.70.0070.00017.24
8.1.60.0030.00617.38
8.1.50.0030.00617.46
8.1.40.0020.00517.50
8.1.30.0060.00317.61
8.1.20.0000.00717.55
8.1.10.0040.00417.38
8.1.00.0030.00517.37
8.0.300.0090.00018.77
8.0.290.0040.00416.88
8.0.280.0000.00718.39
8.0.270.0000.00717.36
8.0.260.0000.00716.78
8.0.250.0070.00017.00
8.0.240.0050.00217.04
8.0.230.0040.00416.90
8.0.220.0040.00416.94
8.0.210.0030.00316.96
8.0.200.0000.00817.00
8.0.190.0040.00416.96
8.0.180.0040.00416.98
8.0.170.0000.00716.96
8.0.160.0000.00716.89
8.0.150.0030.00516.96
8.0.140.0050.00216.91
8.0.130.0000.00513.32
8.0.120.0040.00416.94
8.0.110.0070.00016.80
8.0.100.0040.00316.89
8.0.90.0000.00716.93
8.0.80.0130.00516.99
8.0.70.0040.00416.92
8.0.60.0000.00816.81
8.0.50.0070.00016.81
8.0.30.0130.00517.07
8.0.20.0100.00817.40
8.0.10.0050.00216.86
8.0.00.0120.00416.70
7.4.330.0050.00015.55
7.4.320.0050.00216.52
7.4.300.0000.00716.62
7.4.290.0040.00416.61
7.4.280.0090.00016.49
7.4.270.0000.00716.62
7.4.260.0030.00313.15
7.4.250.0030.00616.43
7.4.240.0050.00216.49
7.4.230.0030.00316.55
7.4.220.0100.01016.33
7.4.210.0090.00816.53
7.4.200.0000.00716.32
7.4.160.0060.01016.49
7.4.150.0060.01117.40
7.4.140.0130.01017.86
7.4.130.0090.01116.52
7.4.120.0100.01016.51
7.4.110.0070.01016.41
7.4.100.0140.00616.32
7.4.90.0100.00716.69
7.4.80.0110.00619.39
7.4.70.0170.00016.51
7.4.60.0110.00416.23
7.4.50.0040.01116.53
7.4.40.0070.01016.32
7.4.30.0070.01416.32
7.4.00.0120.00714.82
7.3.330.0030.00313.10
7.3.320.0050.00013.06
7.3.310.0030.00316.15
7.3.300.0070.00016.36
7.3.290.0000.00616.20
7.3.280.0120.00516.31
7.3.270.0050.01517.40
7.3.260.0100.00716.50
7.3.250.0100.01316.47
7.3.240.0080.00916.41
7.3.230.0070.01616.34
7.3.210.0130.00316.34
7.3.200.0040.01216.20
7.3.190.0070.01016.41
7.3.180.0050.01116.16
7.3.170.0160.00016.46
7.3.160.0060.00916.47
7.3.120.0110.00715.09
7.3.110.0130.00514.50
7.3.100.0040.01214.51
7.3.90.0080.00314.53
7.3.80.0040.00814.63
7.3.70.0120.00314.58
7.3.60.0070.00414.69
7.3.50.0070.01014.59
7.3.40.0090.00314.52
7.3.30.0090.00614.80
7.3.20.0100.00716.46
7.3.10.0030.00616.36
7.3.00.0090.00616.58
7.2.330.0070.01116.30
7.2.320.0070.01116.62
7.2.310.0100.00616.65
7.2.300.0120.01016.58
7.2.290.0080.00816.64
7.2.250.0060.01315.09
7.2.240.0030.01714.88
7.2.230.0000.01215.01
7.2.220.0140.00015.26
7.2.210.0060.00915.13
7.2.200.0050.00514.84
7.2.190.0090.00614.85
7.2.180.0080.00815.01
7.2.170.0060.00915.03
7.2.110.0090.01116.29
7.2.60.0130.00016.85
7.2.00.0000.01219.50
7.1.330.0090.00615.85
7.1.320.0030.00715.62
7.1.310.0030.01015.67
7.1.300.0060.00915.46
7.1.290.0040.01415.64
7.1.280.0070.00315.61
7.1.270.0000.01515.80
7.1.260.0040.00715.72
7.1.200.0230.00015.06
7.1.100.0000.01018.13
7.1.70.0030.01516.97
7.1.60.0200.02135.06
7.1.50.0300.00334.76
7.1.40.0150.02134.20
7.1.30.0270.00634.25
7.1.20.0280.01534.61
7.1.10.0110.00716.29
7.1.00.0040.01616.69
7.0.200.0060.00916.82
7.0.190.0030.01416.78
7.0.180.0110.01216.39
7.0.170.0030.01716.34
7.0.160.0030.01616.34
7.0.150.0030.01516.07
7.0.140.0060.01416.15
7.0.130.0070.01416.57
7.0.120.0090.01216.45
7.0.110.0030.01316.28
7.0.100.0090.00916.25
7.0.90.0050.01416.02
7.0.80.0110.00716.07
7.0.70.0120.00616.15
7.0.60.0070.01116.09
7.0.50.0030.01616.44
7.0.40.0090.00916.35
7.0.30.0090.00916.29
7.0.20.0030.01516.28
7.0.10.0030.01716.23
7.0.00.0060.01216.10

preferences:
49.99 ms | 400 KiB | 5 Q