Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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