diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-31 20:42:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-31 20:42:06 +0900 |
| commit | 2ed4720c79db817401e739a4d333c6cf5b59087a (patch) | |
| tree | b87119776576451466e7d0cf8044261682400b8b /services/nuldoc/content/posts/2022-09-29 | |
| parent | 9d4c7d916a9477a0cb635197b02a51befe2cd0ad (diff) | |
| download | nsfisis.dev-2ed4720c79db817401e739a4d333c6cf5b59087a.tar.gz nsfisis.dev-2ed4720c79db817401e739a4d333c6cf5b59087a.tar.zst nsfisis.dev-2ed4720c79db817401e739a4d333c6cf5b59087a.zip | |
style(nuldoc): unify indentation to 4 spaces
Diffstat (limited to 'services/nuldoc/content/posts/2022-09-29')
| -rw-r--r-- | services/nuldoc/content/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/nuldoc/content/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line.md b/services/nuldoc/content/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line.md index 3665b7f5..edfe94ff 100644 --- a/services/nuldoc/content/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line.md +++ b/services/nuldoc/content/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line.md @@ -4,7 +4,7 @@ uuid = "42f0b29b-1e44-4dbe-9864-69abe3bb1e6e" title = "【PHP】 fizzbuzz を書く。1行あたり2文字で。" description = "PHP で fizzbuzz を書いた。ただし、1行あたりに使える文字数は2文字まで。" tags = [ - "php", + "php", ] [[article.revisions]] @@ -27,10 +27,10 @@ remark = "小さな文言の修正・変更" PHP で、次のような制約の下に fizzbuzz を書いた。 * 1行あたりの文字数は2文字までに収めること (ただし `<?php` タグは除く) - * 厳密な定義: `<?php` タグ以降のソースコードが、2 byte ごとにラインフィード (LF) で区切られること + * 厳密な定義: `<?php` タグ以降のソースコードが、2 byte ごとにラインフィード (LF) で区切られること * スペースやタブを使用しないこと * ループのアンロールをしないこと - * 100 回ループの代わりに 100 回コードをコピペ、というのは禁止 + * 100 回ループの代わりに 100 回コードをコピペ、というのは禁止 * PHP 7.4〜8.1 で動作すること * 実行時に Notice や Warning が出ないこと * 標準的なインストール構成の PHP で実現できること (デフォルトで有効になっていない拡張等を使わないこと) |
