teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

調整

2023/06/09 04:25

投稿

yambejp
yambejp

スコア117921

answer CHANGED
@@ -11,4 +11,20 @@
11
11
  }
12
12
  }
13
13
  Application::run();
14
+ ```
15
+ 追加でmetaまで指定するとか
16
+ ```javascript
17
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
18
+ <?php
19
+ header('Content-Type: text/html; charset=UTF8');
20
+ class Application
21
+ {
22
+ public static function run(){
23
+ $discrimination = '対象あり';
24
+ var_dump($discrimination);
25
+ exit;
26
+ }
27
+ }
28
+
29
+ Application::run();
14
30
  ```