diff options
Diffstat (limited to 'services/blog/public/posts/2022-09-29')
| -rw-r--r-- | services/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/services/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html b/services/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html index 16704369..0530802b 100644 --- a/services/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html +++ b/services/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html @@ -15,7 +15,7 @@ <meta name="Hatena::Bookmark" content="nocomment"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【PHP】 fizzbuzz を書く。1行あたり2文字で。|REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53"> + <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade"> </head> <body class="single"> <header class="header"> @@ -49,6 +49,49 @@ </li> </ul> </header> + <nav class="toc"> + <h2>目次</h2> + <ul> + <li> + <a href="#section--intro">記事の構成について</a> + </li> + <li> + <a href="#section--regulations">レギュレーション</a> + </li> + <li> + <a href="#section--problems">主な障害</a> + </li> + <li> + <a href="#section--commentary">解説</a> + <ul> + <li> + <a href="#section--commentary--normal-fizzbuzz">普通の (?) fizzbuzz</a> + </li> + <li> + <a href="#section--commentary--remove-keywords"> の排除</a> + </li> + <li> + <a href="#section--commentary--shorten-function-invocation">関数呼び出しの短縮</a> + </li> + <li> + <a href="#section--commentary--incompatible-solution">余談: PHP 8.x で動作しなくてもいいなら</a> + </li> + <li> + <a href="#section--commentary--shorten-string-literals">文字列リテラルの短縮</a> + </li> + </ul> + </li> + <li> + <a href="#section--stretched-fizzbuzz">完成系</a> + </li> + <li> + <a href="#section--outro">感想など</a> + </li> + <li> + <a href="#section--alternative-solution">余談2: 別解</a> + </li> + </ul> + </nav> <div class="post-content"> <section id="changelog"> <h2><a href="#changelog">更新履歴</a></h2> |
