回答編集履歴

1

回答を修正

2016/06/20 09:15

投稿

KiyoshiMotoki
KiyoshiMotoki

スコア4791

test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```php
2
2
 
3
- echo $history->fields['orders_id'];
3
+ print_r($history->fields['orders_id']);
4
4
 
5
5
  ```
6
6
 
@@ -8,4 +8,4 @@
8
8
 
9
9
 
10
10
 
11
- `print_r`の出力結果から、プロパティ`$fields`は`var`または`public`修飾子で宣言されていると推測できるからです。
11
+ `$history`の`print_r`の出力結果から、プロパティ`$fields`は`var`または`public`修飾子で宣言されていると推測できるからです。