3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PHPでエラー表示設定にしていても白画面

Last updated at Posted at 2018-05-01

フレームワークを使用していない場合等でdisplay_errorsをOnにしていても白画面になってしまいログにもエラーが出力されない場合の原因を探る方法

以下を先頭に記述する

function debug()
{
    var_dump(error_get_last());
}
register_shutdown_function('debug');
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?