回答編集履歴

3

一部変更

2016/06/10 18:55

投稿

manto
manto

スコア14

test CHANGED
@@ -12,11 +12,15 @@
12
12
 
13
13
  __dir__.'class/test1',
14
14
 
15
+ __dir__.'class/test2',
16
+
15
17
 
16
18
 
17
19
  // 正しくは
18
20
 
19
21
  __dir__.'/class/test1',
22
+
23
+ __dir__.'/class/test2',
20
24
 
21
25
  ```
22
26
 

2

追記

2016/06/10 18:55

投稿

manto
manto

スコア14

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- // 間違い1カ所目
11
+ // 間違い1カ所目(一部抜粋)
12
12
 
13
13
  __dir__.'class/test1',
14
14
 
@@ -32,11 +32,15 @@
32
32
 
33
33
  echo test1::method1;
34
34
 
35
+ echo test2::method2;
36
+
35
37
 
36
38
 
37
39
  // 正しくは
38
40
 
39
41
  echo test1::method1();
42
+
43
+ echo test2::method2();
40
44
 
41
45
  ```
42
46
 

1

修正

2016/06/10 18:52

投稿

manto
manto

スコア14

test CHANGED
@@ -1,4 +1,4 @@
1
- 上記の返信で間違っている箇所は4箇所あります。
1
+ 上記のrentoさんのコードで間違っている箇所は4箇所あります。
2
2
 
3
3
 
4
4