回答編集履歴

1

if文の条件部が詰まっていたので空白を挿入

2017/11/16 03:16

投稿

LLman
LLman

スコア5592

test CHANGED
@@ -6,11 +6,11 @@
6
6
 
7
7
 
8
8
 
9
- if ($test == 'a'||$test == 'b') {
9
+ if ($test == 'a' || $test == 'b') {
10
10
 
11
11
  echo 'A';
12
12
 
13
- } elseif ($test == 'd'||$test == 'e') {
13
+ } elseif ($test == 'd' || $test == 'e') {
14
14
 
15
15
  echo 'B';
16
16