【ループメニュー1】> 【a ~ z までを表示】STEP: 5 ある数をある回数表示 1 (paizaランク D 相当) [難易度: 688 ±31]
※リンク先へ移動するためには[paiza]へのログインが必要です。

3 を 8 回、改行区切りで出力してください。
入力値(例)
なし
出力値(例)
3
3
3
3
3
3
3
3
解答例
1 2 3 4 5 6 7 8 |
<?php $i = 0; $three = 3; while($i < 8) { echo $three. "\n"; $i++; } ?> |

感想
while()で記述してみました。