Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created August 4, 2020 21:22
Show Gist options
  • Save betweenbrain/632936b6e70ff6c1e10da50990fd5622 to your computer and use it in GitHub Desktop.
Save betweenbrain/632936b6e70ff6c1e10da50990fd5622 to your computer and use it in GitHub Desktop.
WordPress error reporting
<?php
/*
Plugin Name: PHP - Strict Error Reporting
Description: Enable strict error reporting for testing PHP.
*/
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment