回答編集履歴

1

間違い

2016/10/24 09:49

投稿

takepieee
takepieee

スコア686

test CHANGED
@@ -8,8 +8,6 @@
8
8
 
9
9
  $finfo = new finfo(FILEINFO_MIME_TYPE);
10
10
 
11
- $finfofile = $finfo->file('path/to/hoge.png');
11
+ $mime = $finfo->file('path/to/hoge.png');
12
-
13
- $mime = $finfofile['mime'];
14
12
 
15
13
  ```