<?php $result = 0; while(true) { echo "数字を入力してください\n"; $num = trim(fgets(STDIN)); $result +=... ///*** 無料ユーザー登録後、正常なすべてのコードが表示されます ***///