서버에러 부분은
Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in
이 부분의 위치는
<?php // @include("../bn/swdn_top_ad.php"); ?>
왜 위의 부분이 서버에서 에러가 나오죠?
php 7.3 입니다.
|
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
2020-04-26 (일) 14:13:29
- https://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar
Copy
<?php
error_reporting(E_ALL);
$data['nick'] = 'BiHon';
echo $data[nick]; // BiHon 출력되긴 하지만 그 전에 Warning!
echo $data['nick']; // 정상 출력
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.