Php/php8
提供: 初心者エンジニアの簡易メモ
クラス名の関数をconstructとして完全に使えなくなった
php7までは非推奨で、php8からは、完全に使えない。 __construnct()にする。
smartyのテンプレの使ってない変数の警告
エラー詳細
Warning: Undefined array key "key"
修正前
テンプレート:If $request.key
修正後
テンプレート:If isset($request.key)
